Filter links from HTML

With this neat little regex.

A quick & dirty way to filter all links from a given piece of HTML code. Does not filter attributes.


Another one also filters linktext:


Replace it with:

$1    $2

What's next?

If you think this was useful to you, it might be for others also. Feel free to share: