View Single Post
Old 02-04-2010, 03:51 PM   #1
jomaweb
Connoisseur
jomaweb is on a distinguished road
 
Posts: 81
Karma: 50
Join Date: Jan 2010
Device: Kindle DX
Regular Expression for filenames with commas

Hi all

I got a bunch of eBooks with this filename structure:

Surname, Firstname - book Title

When adding to Calibre library, using the default Regular Expression

(?P<author>[^_]+) - (?P<title>.+)

author appears with a strange symbol (pipe?) between name and surname because of the comma.

I'm not a computer geek, so if anyone can tell me how to fix the regular expression to add this kind of files I'll appreciate it.

A solution for bulk repairing the previously hundred books addedd is possible too? Fixing one by one is a lot of time consuming

Thanks in advance

Last edited by jomaweb; 02-04-2010 at 04:06 PM.
jomaweb is offline   Reply With Quote