Quote:
Originally Posted by MSWallack
Brown, Dan - The Lost Symbol [Robert Langdon #3].epub
AuthorLast, AuthorFirst - Title [Series #SeriesNum].format
|
Try this:
Code:
^(?P<author>([^\-_0-9]+)(?=\s*-\s*)(?!\s*-\s*[0-9.]+)|\b)(\s*-\s*)?(?P<title>([^\-_\[\(]+)) (\[(?P<series>[^0-9\-]+) (- )?\#?(?P<series_index>[0-9.]+)\])