View Single Post
Old 12-28-2018, 06:01 PM   #1
Ivan_Z
Junior Member
Ivan_Z began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2018
Device: Kindle
Can't erase Headers with Regex

Hello. I'm new to this so I might be making some mistakes here but I'm trying to delete the headers of a PDF while converting it to MOBI.
In Search & Replace I'm searching for the following expression with no quote marks:
"<a id="p[0-9]+"></a>[0-9]+<br>Introduction<br>"

Calibre shows me there are 3 instances of this.

For replacement text I use blank or "", I have tried both.
I then Add it to the list.

When I convert the book the header is there in the middle of the text together with the page number.

Am I missing a step here? What should I use as replacement text to erase it?

Thanks.

EDIT: Just realized there is a conversion subforum a bit down, sorry about posting in the wrong section.

Last edited by Ivan_Z; 12-28-2018 at 06:04 PM.
Ivan_Z is offline   Reply With Quote