I`m trying to setup my calibre (calibre-ebook.com) to automatic get data from imported pdf files into library. Usually i name my files this way:
Author. Title. Local. Publisher. Published. ISBN.pdf
Example:
C:\Test\RANCIÊRE, Jacques. O mestre ignorante. Belo Horizonte. Autêntica. 2010. 978-85-7526-045-6.pdf
I`m stuck trying get the first paramenter: Author, using the regex:
([^\\]+)\.
I`m getting this value:
RANCIÊRE, Jacques. O mestre ignorante. Belo Horizonte. Autêntica. 2010. 978-85-7526-045-6
Since regex read from left to right isn`t to stop on first dot (.) from .?
The desired value on this example is:
RANCIÊRE, Jacques
Any hint for the other fields? Example for Title the desired value is:
O mestre ignorante
Thanks in advice!!!