This seems to work. Removes links in their entirety, so text like:
This is the text [10]
becomes:
This is the text.
It may have undesired side effect of removing copy that you want, but so far none of the epubs I've tested with have had anything other than footnotes or table of content pages that were links.
This seems to work. Removes links in their entirety, so text like: This is the text [10] becomes: This is the text.
It may have undesired side effect of removing copy that you want, but so far none of the epubs I've tested with have had anything other than footnotes or table of content pages that were links.