I am trying to write a regular expression to strip all HTML with the exception of links (the and tags respectively. It does n
and
How about
<[^a](.|\n)+?>
?