Quote:
Originally Posted by vinco
Code:
<b>Page \d+</b></p><p>
ended up working perfectly in the test, but when I set that as the footer to remove in calibre, the converted epub still contains the page numbers.
|
With apologies in advance for asking, did you remember to check the 'Remove footer' checkbox?
In your example, there are two spaces between 'Page' and '1'. If that is an accurate copy, then you need to match more than 1 space there. Try
Code:
<b>Page +\d+</b></p><p>
If that doesn't work, then it wouldn't surprise me if there are newlines buried in the middle of the the text you are trying to match. Try
Code:
<b>\s*Page +\d+\s*</b>\s*</p>\s*<p>