Quote:
Originally Posted by cybmole
find <a .*</a>
replace with nothing
- takes out all links, assuming there is nothing of value inside the anchor tags.
be careful because I've had instances where chapter names/numbers are also inside of those & thus a more complex expression is needed to preserve them
|
I'd use
<a .*?</a>
to make the matching non-greedy.
@rolgiati: it always helps if you post a snippet of the HTML code you want to modify.