|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2014
Device: pc
|
ISBN from Book Title
Hi,
can be banal, but I cannot figure it out and I could not find it really covered in old posts ISBN is in titles of already imported into the library books (not in a file name) ISBN, 10 or 13 digits, is contained within the title text string (not just isbn no., and not at the beginning, not following a specific pattern, but often (again, not only) after "ISBN") e.g. Author - Title of the Book - 0123456789 Book title, Autor, edition, year, isbn 0123456789 (0123456789) BookTitle BookTitle, ISBN-0123456789, some@rubbish or any similar combination I am trying to use Search and Replace in Bulk editing, using Regular expressions, by trial and error method, mostly error... with no success However, I did partially succeed some time ago, but have changed pc since and naturally lost the old config (recoverable, if only knew where to look for this specific setting) I do not need to add that I have no clue, and cannot grasp, Regular Expressions. Sheer luck is not with me this time Any help, please? What is the magic string? |
|
|
|
|
|
#2 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,033
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2014
Device: pc
|
Extract ISBN is great, but for some reason it does not do the obvious - i.e. extracting ISBN from the _file_name_
|
|
|
|
|
|
#4 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,272
Karma: 61916422
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The file name can/will be modified during the ADD process This PI is for getting ISBN from inside a book |
|
|
|
|
|
|
#5 |
|
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
@Jamamkaase,
Your problem is a trivial one to solve if use use the Quarantine And Scrub add-on/plug-in. Book Level Scrubbing will extract a valid ISBN (must have a valid checkdigit) from Author, Title, and Tags and relocate it to the ISBN column. DaltonST |
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2014
Device: none
|
Hi there! Don't know if my trick is going to help, but I've added in the file name the title and the ISBN.
For example, White Fang-0123456789.pdf Then, in the automated adding function, i've written the following expression: (?P<title>.+)-(?P<isbn>\d+) And the title and the ISBN goes each one in the appropriate column. Hote that helps (and sorry for my bad english ;-) ) Cheers |
|
|
|
![]() |
| Tags |
| isbn, regex, regular expressions, search and replace |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to clean ISBN book title | jpottsx1 | Library Management | 0 | 08-23-2013 09:50 PM |
| Title To ISBN after adding books | Giuseppe Chillem | Calibre | 6 | 01-07-2013 01:00 AM |
| How to swap title with identifiers:isbn | tizboy | Library Management | 1 | 06-06-2012 09:48 PM |
| Getting ISBN from PDF book | uott299 | Library Management | 2 | 03-01-2011 04:01 PM |
| ISBN look up, usually missing part of title | thibaulthalpern | Calibre | 7 | 05-06-2009 02:57 AM |