Ok I had a look around and found this
(?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ?
which does pretty much everything I want But the title is getting messed up
Eoin Coifer - Artemis Fowl 01 - Artemis fowl
gives the book a title of 'artemis' everything else is spot on.
and Eoin Coifer - Artemis Fowl 02 - The Artic Incident
gives me a title of 'The Artic'
Last edited by stustaff; 10-24-2009 at 04:33 PM.