Originally Posted by Dopedangel
I had the same problem so I started using booksorter
to rename my files to
Author - Series # - Title.lit
then used this for the add to
(?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ?
I did see somewhere on the forum the regex you are looking for but couldn't find it
Your standard naming includes no brackets, right?
Another way to do this DID occur to me this morning. Doing it in discrete steps.
First, importing the books without a series on their own, with a fairly standard regex.
Then going back and CHANGING the regex to expect a series and importing THOSE books.
But I guess I still would have to deal with the square brackets. I either have to have a way to mass remove them, or mass ignore them in an import.
The second problem, the format occasionally being at the end in round brackets, I suppose I just have to live with (and manually erase after the fact).