Regexp parsing problem.

Discussion in 'My TVSeries' started by Joco, February 9, 2012.

  1. Joco Portal Member

    Hello.

    I have been learning RegExp to use with the My TV Series plugin to parse TV show data from file/folder structure and name. I have been going through the regular-expressions.info tutorial to learn but I am still having a bit of trouble. I apologize if this is posted in the wrong forum.

    I organize my shows as such:
    \\SERVER\X\shows\Family Guy\S06\E01 - Blue Harvest.avi

    I want to extract the series name, season number, episode number, episode title, and file extension. I have managed to construct this fella:

    S(?<season>[0-9][0-9])\\E(?<episode>[0-9][0-9])

    This can manage to get the episode and season number correctly. I cannot seem to manage to make an expression that will properly parse the series name, file extension, or episode name. Please help.


    John
    • Team MediaPortal

    HomeY Test Group Manager

    System Specs
    There is indeed a specific thread for regex requests, you can find it here

    ;)

    With my very limited regexp knowledge, i know you can use '\d' for digits, and extension works with '<ext>'

    For the rest you'll need someone else...
  2. Joco Thread Starter Portal Member

    I have reposted on the appropriate thread. Thank you for your assistance.

Share This Page

Users Viewing Thread (Users: 0, Guests: 0)

Running the latest version?

V1.3.0 FINAL - released March 2013
Releasenews | Download
Changelog
 | Requirements
HTPC
Team-MediaPortal
 
About
Contact |  Press
Partners