Thread
:
Regular Expression Help
View Single Post
07-20-2010, 04:06 AM
#
67
capidamonte
Not who you think I am...
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
(?P<author>.*?)(\s\-\s)((?P<series>.*?)(\,\s)?(Book \#)?(?P<seriesindex>\d\d)(\s\-\s)(?P<title>.*?))|(?P<title>.*?)(\.txt)
Should pull it, but try it on some test cases first... it might fail on titles with numbers in them.
capidamonte
View Public Profile
Find More Posts by capidamonte
Track Posts by capidamonte via RSS