Thread
:
Help with "Guessing metadata from file names"
View Single Post
08-03-2010, 04:31 PM
#
14
Starson17
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by
Justy
My test file names were:
Genre_AuthorLastName_Title.prc
Genre_AuthorLastName_Series01_Title.prc
Try this:
Code:
([^_]+ )(?P<author>[A-Za-z]+) ((?P<series>[^_\d]+)(?P<series_index>\d+)? )?(?P<title>[^_]+)
Starson17
View Public Profile
Find More Posts by Starson17
Track Posts by Starson17 via RSS