![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2011
Device: Apple iPad
|
Regular expression to add PDFs please
Hi,
can anyone help with the Regular Expression that will recognize the title - ISBN from the file name?? my PDFs are all named something like: InDesign class room in a book - 636372727363.PDF I'm trying to setup a Regular Expression in the Adding Books Settings that allows Caliber to recognize the text before the "-" as title and the number after it as ISBN, but it's too complicated for me ![]() please help me ![]() John |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Try
Code:
(?P<title>.*?)\s*-\s*(?P<isbn>\d+) |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2011
Device: Apple iPad
|
Yessssss,
thanks a lot dude, it worked ![]() ![]() ![]() John |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regular Expression Help | Azhad | Calibre | 86 | 09-27-2011 02:37 PM |
Regular Expression Help | iKarampa | Calibre | 13 | 12-15-2010 07:17 AM |
Regular expression help | krendk | Calibre | 4 | 12-04-2010 04:32 PM |
Regular Expression Help | smartmart | Calibre | 5 | 10-17-2010 05:19 AM |
Help with the regular expression | Dysonco | Calibre | 9 | 03-22-2010 10:45 PM |