Regex help needed
can any experts out there please help me with extracting series from a title
[Otherland 03]
I need to pull the series and series index and lose the [ ]
I can get the entire thing to series but cant work out how to seperate them
this is what I have to date
(?P<author>[^_-]+) -?\s*(?P<series>.+?)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ?
Gratefully appreciate help
Cheers
Tony
|