New help with a regex
I am using this regex at the moment:
" ^(?P<author>((?!\s-\s).)+)\s-\s(?:(?:\[\s*)?(?P<series>.+)\s(?P<series_index>[\d\.]+)(?:\s*\])?\s-\s)?(?P<title>[^(]+)(?:\(.*\))? "
I now need to add publisher to my regex. My books are in this format
Author - [Series Series Index] - Title [Publisher](epub).epub
Example:
JR Ward - [Black Dagger Brotherhood 03] - Lover Awakened [Signet] (epub).epub
Any help would be appreciated.
|