![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2011
Device: HP TM2
|
Import expression request
Hi all,
I have a large (really large ![]() The naming system of my file names is random with one exception: 1. at the end of the file name (before the file extension, i.e. .pdf, .epub) is always the 10/13 digit ISBN number 2. and before the ISBN there is always a <space> Now if someone could help me with an expression so that I can import... a. everything before <space> ISBN into the <title> (only need this for quick referencing - will be overwritten if metadata is found) b. and the ISBN number into <isbn>... (as basis for the metadata search) I would be very grateful ![]() Note: a typical file name would look like this: Contemporary Eastern Philosophy John Doe 1 9781232343456.pdf Leadership Ethics John Doe Jane Smith 1 1232343456.djvu Encyclopedia of Social Theory 2Ed Vol1 John Doe John Smith 1 1232343456.chm Thanks in advance ![]() Tom |
![]() |
![]() |
![]() |
#2 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Code:
(?P<title>.+) ? (?P<isbn>[^_]+) |
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2011
Device: HP TM2
|
Thanks indeed
![]() ![]() ![]() You've just made me the happiest person around !!!! take care, tom |
![]() |
![]() |
![]() |
Tags |
expression, import, isbn |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre book adding: Regular expression request... | Spiffy | Calibre | 34 | 01-19-2016 01:03 PM |
Import expression request | eirek | Library Management | 4 | 05-17-2011 03:46 AM |
REQUEST: Choosing duplicates to import | Giuseppe Chillem | Calibre | 1 | 01-08-2011 12:34 PM |
Need an import expression to use sub-foldername as series | santiagodraco | Calibre | 3 | 06-10-2010 07:54 AM |
What is the default regular expression for filename import? | palex481 | Calibre | 2 | 03-22-2009 06:11 PM |