- February 1, 2009
- 7
- 0
Tryed to change some of the numbers but i just don´t understand the Code of the Expression yet so it didn´t work out. i am sure there is just a number missing or something it´s only using 2 digits yes
^(?<series>[^\\$]+)\\[^\\$]*?(?:s(?<season>[0-1]?\d)ep?(?<episode>\d\d\d?)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d\d?))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?!.*sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$
^(?<series>[^\\$]+)\\[^\\$]*?(?:s(?<season>[0-1]?\d)ep?(?<episode>\d{1,3})|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d{1,3}))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d{1,3}(?!\d))|E(?<episode2>\d{1,3}))|)[ -.]*(?<title>(?!.*sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$
Can someone help me out here.
My file structure is like this
series name\0000 - episode title.avi
the first 2 zeros are the season and the second 2 are the episode number.
so like this
Simpsons, The\0901 - The City of New York vs Homer Simpson.avi
Thanks!!
^(?<series>.*[^\\])\\(?<season>\d{2})(?<episode>\d{2})\s\-\s(?<title>.*)\.(?<ext>\w{2,4})$
Can someone help me out here.
My file structure is like this
series name\0000 - episode title.avi
the first 2 zeros are the season and the second 2 are the episode number.
so like this
Simpsons, The\0901 - The City of New York vs Homer Simpson.avi
Thanks!!
just did this by hand and haven't checked it, but should work fine for you.
Code:^(?<series>.*[^\\])\\(?<season>\d{2})(?<episode>\d{2})\s\-\s(?<title>.*)\.(?<ext>\w{2,4})$