![]() |
#16 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
|
I bought it a long time ago, maybe 5 years, so this was an ADE epub that I had knocking about and recently kepubified with Calibre.
Last edited by Joques; 09-14-2014 at 12:23 PM. |
![]() |
![]() |
![]() |
#17 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,454
Karma: 5469320
Join Date: Jul 2010
Device: Kobo
|
I agree with your title and it drives me NUTS!!! I can handle the occasional miss, but some books are so riddled with OCR mix ups it makes them hard to read. They seem to run it through a spell checker, but that leaves legitimate words aren't the correct word all over the place.
|
![]() |
![]() |
![]() |
#19 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 178
Karma: 1057078
Join Date: Dec 2012
Device: Kobo Aura One
|
I know it doesn't make it any better (or less worse), but if the only thing that is changing is the ID, then you can easily delete them all with a single REGEX.
|
![]() |
![]() |
![]() |
#20 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
|
HYPE, how do you do that? I've been deleting them manually, but it takes a while. I tried putting in a wildcard character in Calibre's editor's search function, but that didn't work.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 178
Karma: 1057078
Join Date: Dec 2012
Device: Kobo Aura One
|
Quote:
Then it is only a matter of writing a regular expression that can find all occurrences. This one seems to be working fine in your case : Code:
( <a id="page_)([0-9]+)("></a> ) Last edited by HYPE; 07-27-2019 at 02:03 PM. |
|
![]() |
![]() |
![]() |
#22 |
Unicycle Daredevil
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,944
Karma: 185432100
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
Calibre DOES support regular expressions.
|
![]() |
![]() |
![]() |
#23 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 178
Karma: 1057078
Join Date: Dec 2012
Device: Kobo Aura One
|
|
![]() |
![]() |
![]() |
#24 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
|
Where would I insert that code? I tried the regular search field, but no luck. Sorry, I really am that clueless about html editing
![]() |
![]() |
![]() |
![]() |
#25 |
Unicycle Daredevil
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,944
Karma: 185432100
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
You have opened the book in the Calibre Editor? Ctrl+F will open a Find and Replace menu at the bottom. Put your search term in the Find field, leave the Replace field empty, because you just want to remove the code. Below the Replace field there is a dropdown menu "Mode". This must be set to "Regex". Before hitting "Replace all", replace one instance first, and then another two or three, to see if the regex really does what it's supposed to do...
|
![]() |
![]() |
![]() |
#26 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
|
Thank you! But ... the search string the HYPE provided, only nets me an error message: "The regular expression you entered is invalid."
I tried to read an introduction to regex, but it seems very arcane indeed ![]() |
![]() |
![]() |
![]() |
#27 | |
Unicycle Daredevil
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,944
Karma: 185432100
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
Quote:
Code:
<a id="page_[0-9]+"/> |
|
![]() |
![]() |
![]() |
#28 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,189
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Quote:
Code:
( <a id="page_([0-9]+)"></a> ) bernie |
||
![]() |
![]() |
![]() |
#29 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 178
Karma: 1057078
Join Date: Dec 2012
Device: Kobo Aura One
|
Quote:
As for it being arcane, I agree that it can be quite hostile, but it can be a real life saver when working on ebooks. Last edited by HYPE; 07-27-2019 at 02:04 PM. |
|
![]() |
![]() |
![]() |
#30 | |
Unicycle Daredevil
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,944
Karma: 185432100
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
0.7.1 acting different than 0.6.2 | Gregg Bell | Sigil | 9 | 03-26-2013 09:35 PM |
Publishers Now Offering Agency Pricing 2.0 (big win for Publishers) | Top100EbooksRank | News | 24 | 12-20-2012 12:47 PM |
Tired of being patient | amo | Kobo Reader | 13 | 04-13-2011 05:17 PM |
My DX is acting up. Again. | Scott Nielsen | Amazon Kindle | 4 | 02-27-2010 02:33 PM |