Yes - regex means regular expression.
However without examining an example of the book in question is not that easy to work out what the exact regex will be. In the simple case it will simply be the string you want to remove, but normally there will be variations in the string (such as page numbers) which you have to use regex extended syntax to specify.
Also, since the removal actually happens on the HTML that is an intermediate stage in the conversion you may also have to allow for additional things such as HTML tags being present which also need removing. Calibre allows you to get these intermediate files saved for examination for just this sort of purpose.
It is this sort of variation that can make it hard to come up with an expression that matches all the cases you want.
|