![]() |
#1 |
Connoisseur
![]() Posts: 77
Karma: 12
Join Date: Jan 2012
Location: Nederland
Device: Ipad Pro
|
How to remove the codes
Somethimes i have a book with a code in it. How can i remove the code?
for example: Here are the codes. <div id="x978902348694761" title="f9CGCY7LPINmW1sTFliH5+ngfBC8EuLRoNu/EDS30fjgnAm8WIAaQA=="> <div id="x978902348694762" title="5UpK5EPrKtttkCKKIyxzd680SfUpcoksVJY2Q4MAm/5BXddUXE38tQ=="> On every page you will find these code. Now i remove them page by page. Is there a faster way to remove all codes? And here is a code that i find an every page too but some letters or numbers are different as above mentioned <div class="dataImg"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYgAAAABCAIAAAB L6a7VAAAAfUlEQVQ4jZ2RQQ6AQAgD+f+n9WA0bIeWxD2YBSqU2 aqq6zz1nucuXypZ+sIukLsIZHTXc1DoSfPdkuSlvxvhfHIXh4J OgpINAzdXWsO8rFPy1Yh99OzCsOnIc/U5ks+sVkrOqjBZp7u/mPzBk8SYdKF708DcrTm+FP1wUynda7g64kIkllQAAAAASUVORK 5CYII=" alt="" /></div> |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
|
The first kind looks like ToC markers. No idea why the title looks like a hash of some kind though, that's not exactly what the attribute is for. It doesn't impact the book's contents at all, though, so at worst there's no hurt in keeping them where they are.
The second is an image encoded in base64 instead of being linked to a separate file. Again, no idea what it's supposed to be for, but it looks like some kind of barcode. Depending on the book, it may have some real significance. Or not. You can remove all of those by finding the right regexp in a search/replace. N. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
The 9789023486947 is a valid ISBN for: https://www.bruna.nl/ebook/gevangene...-9789023486947 . Obviously superfluous to have on every page.
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 77
Karma: 12
Join Date: Jan 2012
Location: Nederland
Device: Ipad Pro
|
I ask is there a way to remove both in a quick manner. I know it's a code, a sort of watermark. This can I get out of it but should do this page for page but is there an easy way to do this quickly in 1 time.
|
![]() |
![]() |
![]() |
#5 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Aleyx gave you the answer at the bottom of his post. Regex means Regular Expression. Search and Replace is an option when you convert or reconvert from one format to another. Refer to the Calibre User Guide Help for more details. It is easy and intuitive if you know Regular Expressions.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 564
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
Make sure you are in regex mode of Search and Replace (not Normal),
Find this Code:
<div id="(.*?)" title="(.*?)=="> Then, use the feature "Beautify" under Tools. I think it will help to remove also the redundant </div> |
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() Posts: 77
Karma: 12
Join Date: Jan 2012
Location: Nederland
Device: Ipad Pro
|
Thanks NQK
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
sainsburysebooks.co.uk Codes | bookaho!ic | Deals and Resources (No Self-Promotion or Affiliate Links) | 69 | 03-08-2015 07:58 AM |
Help needed with codes | Hoods7070 | Conversion | 8 | 03-07-2012 06:07 AM |
Hiding codes | Goldenrod | ePub | 2 | 02-28-2012 04:06 PM |
RFE: Remove remove tags in bulk edit | magphil | Calibre | 0 | 08-11-2009 10:37 AM |