Quote:
Originally Posted by grandin
Starson17 - Thanks for the regex! Worked perfectly.!
|
Which regex worked for you? This one:
(?P<isbn>.+)
or this one:
(?P<isbn>.+?)\.(?P<title>.+)
?
I tested the first one and couldn't get it to pull ISBN only. The second one works fine for books with a title separated from ISBN by dot/period/decimal. I tested on my machine running Calibre from source, and right now the source is heavily modified. I vaguely recall getting an ISBN regex to work before, but wasn't sure if it also pulled title or author. Can you get the first regex to grab the ISBN from frulex's sample filenames?