Quote:
Originally Posted by Leonatus
Hi all Regex cracks!
Is there a way to remove by one expression all anchor tags in an epub with the following syntax:
Code:
<a name="pagexx" title="yy" id="pagexx"></a>
where xx stands for the page number, and yy for diverse abbreviations of former issuers.
Maybe it's even not so difficult, but It's too much for my poor old brains.
Thanks in advance!
|
Yes
Select an example, ctrl-F (This also puts the selection in Find)
Right click in the find box: Tokenize
Replace should be: either blank or a space
you could also do it the other way:
replace each SET of the numbers with a
\d+ (one or more digits, an Integer)