Reply to thread

Hello.


I am using the following regexp, which was earlier provided in this thread in response to someone else's  question.


(?<series>[\w\s'-]*)[\\]Season (?<season>[0-9]*)[\\]S[0-9]*E(?<episode>[0-9]*) - (?<title>[\s\w',-]*)\.(?<ext>[^.]*)


This seems to work great for my file naming scheme:


Series\Season x\SxEx - Episode Name.ext


Examples:


Made Up Show\Season 1\S01E01 - Pilot.avi


All good . . . 95% of the time. The only thing that doesn't work are double episodes.


For example:


Made Up Show\Season 4\S04E21-E22 - The Double Episode


Or, a show with a double episode with two different names.


Made Up Show\Season 6\S06E08-E09 - The Start; The End


I don't know bunk about regexp. Any chance of modifying the expression I am using to work with these double episodes?:confused:


Expression: (?<series>[\w\s'-]*)[\\]Season (?<season>[0-9]*)[\\]S[0-9]*E(?<episode>[0-9]*) - (?<title>[\s\w',-]*)\.(?<ext>[^.]*)


Thanks so much!


Top Bottom