With this neat little regex.
A quick & dirty way to filter all links from a given piece of HTML code. Does not filter attributes.
<\/*?(?![^>]*?\b(?:a)\b)[^>]*?>
Another one also filters linktext:
(?i)<a\shref=\"([^>]+)\">(.+?)</a>
Replace it with:
$1 $2
Then let's make the virtual gap between us a little bit shorter!