I'm looking to develop a regex or few for the Anime TV Series I have. I plan on doing one for movies and OVAs too, but that's later.
Here is what I have now.
[-_ .]([0-9]+)[-_ \[\].v(]
I have excluded the "Season" part and just focusing on the file name for right now. This line will get, as far as I understand, almost all of the files I have. I am running into a few files that are giving me trouble. Also i'm not sure if i'm making the line properly since it's also matching the character to the left, and to the right of the string I actually want to match. Here is a list of files that are giving me issues:
[Lunar] Bleach - 52-53 [B937F496].avi
[Lunar] Bleach - 67 v2 [A1C97A64].avi
[Lunar] Bleach - 68-69 [C23724B5].avi
[m.3.3.w] Chaos Head - 01v2 (H.264) [094A3E22].mkv
In order to test the line I've been using this site here: http://regexpal.com/
The issues i'm having are regarding double episodes, where it doesn't pickup the second episode. The group names that are abbreviated similar to the characters around the episode numbers. Codec names appearing similar to the episodes. And the "Ep" that appears in front of wolf's rain.
I'm very new to regular expression so please forgive my ignorance.