View Single Post
Old 2007-06-08, 20:51   #4 (permalink)
JonJon
Portal Member
 
Join Date: Apr 2007
Age: 25
Posts: 19
Thanks: 0
Thanked 7 Times in 6 Posts

Country:


Default

For anyone that needs to get double episodes

Type: Parsing - Regex
Description:
Had a lot of downloaded files with their original file such as
[DB]_Bleach_50_[23A18CB4].avi
[DB]_Bleach_52-53_[069BE2EB].avi
[DB]_Bleach_63_Special_[C70774F3].avi
[DB]_Bleach_75-76_Special_[31E39A56].avi

This expression will always return the series and episode and extension, if episode2 exists then it will also return it.

Expression:
Code:
\[DB\]_(?<series>[^_]*?)_(?<episode>[0-9]{1,3})(-(?<episode2>[0-9]{1,3}))?[\w\[\]]*.(?<ext>[^\\]*)
JonJon is offline   Reply With Quote