electricjason
02-07-2010 01:29:08
Hi guys, just looking for some help with the regex code for processing file names in the form: "the_tv_show_-_season_1_ep_18_-_name_of_episode.avi"
This one:
Is giving me some luck (recognizes one episode which has all numbers in its episode name but this code makes it consider the ep name as the episode # for some reason.
I tried adding in "[^_%]" but that didn't quite get it to work.
Any help would be appreciated,
thank you.
This one:
(^|[^a-z])(?<s>[0-9]+)-(?<e>[0-9]{2,})[^a-z]
Is giving me some luck (recognizes one episode which has all numbers in its episode name but this code makes it consider the ep name as the episode # for some reason.
I tried adding in "[^_%]" but that didn't quite get it to work.
Any help would be appreciated,
thank you.