Thanks very much for taking the time to read this.
I tried reading as much as I could about regular expressions, and even being a hobbyist programmer it makes my head spin. I have some books that are parsed strangely, and I was wondering if anyone could help me. Here is an example filename:
Code:
[Black Fleet Crisis] - 01 - Before The Storm (Michael Mcdowell).epub
I've altered default regex a little bit to get my authors to parse properly and this is what I currently use:
Code:
(?P<title>.+) \((?P<author>[^_]+)\)
What I need is a way to tell Calibre to ignore the series and series volume info, and only parse the title and author. To make it easier, none of my titles have numbers or brackets, so if I could get a regex that ignores everything inside a bracket, plus numbers outside brackets, I'd be set. Can anyone help me?
EDIT: I found a thread that lets me parse the brackets out into some into publishdate, so now all I need to do is figure out how to get the numbers to disappear.