View Single Post
Old 08-09-2014, 12:59 AM   #11
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by DiapDealer;2892833..


Can o' corn! I'd do something like this (in calibre only):
Search for: [CODE
</?a\M([^>]+)?>[/CODE]

Replace it with: nothing. nada. zip.

That should remove opening/closing 'a' tags leaving the text between them alone (as well as removing self-closing <a id="blah" /> entries).

Or something like this (in calibre OR Sigil):
Code:
</?a ?([^>]+)?>
surely that strips the a tags but does not remove the href="whatever" bit ?
cybmole is offline   Reply With Quote