Quote:
Originally Posted by Joques
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.
|
I'm not sure if Calibre supports regular expressions. If you open the .epub like you would a .zip, you will get all the HTML files. From there you will be able to process them with a more powerful text editor, such as Sublime Text. It can handle REGEX on huge files pretty well, and it can also search throughout a whole folder, so you won't have to work file by file.
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> )