"Staffel N" and "Série N" for German, French/Spanish speakers. Correct previous issue with arbitory characters in front of the filename matching \\.
Supports:
Thanks: dir for 4 digit season numbers and RegEx for special characters in show titles
Code:
(?<series>[^\\$]+)(?:(?:\\(?:Season|Staffel|S[eé]ries?)?[ .-]?[0-9]{1,4})?\\s?(?<season>[0-2]?[0-9])|\\(?:(?:Season|Staffel|S[eé]ries?)[ .-])?(?<season>[0-9]{1,4})\\[^\\]*?)[ex]?(?<episode>\d\d+)(?:[ .+-]e?(?<episode2>\d\d+))?(?:[ -]+(?<title>[\w -.,'!&$][^$]*?))?\.(?<ext>[^.]*)$
Supports:
- NEW: Foo\Season 2010\s2010e01 - $25K Opening Table.avi
- root\sub\Foo\Staffel 5\S05E01 Shot title.avi
- Foo\Série 02\23.avi
- Foo\Series 02\02x23 - Show title.avi
- Foo\Season 07\itg-scrubsdb-07x23 - Show title.avi
- Foo\Season 2\215 Show title.avi
- Foo\Season 2\02x03 Show title.avi
- Foo\Season 2\s02e23 Show title.avi
- Foo\Season 2\02x23-24 Show title.avi
- Foo\02\02x23 Show title.a
- Foo\02e23-e24 Show title.av
- Foo\Season 2\23 Show title.avi
- Foo\Season 2\23 - Show title.avi
- Foo\Season 2\e23 Show title.avi
- Foo\Season 2\23-24 Show title.avi
- Foo\2\e23+e24 Show title.avi
- and more combinations that are impossible to list all...
Thanks: dir for 4 digit season numbers and RegEx for special characters in show titles
Last edited: