Howto remove HTML <a> tags in a CDATA element
Posted
by pvledoux
on Stack Overflow
See other posts from Stack Overflow
or by pvledoux
Published on 2010-03-15T16:29:27Z
Indexed on
2010/03/15
18:09 UTC
Read the original article
Hit count: 319
Hi, I have HTML in a CDATA element (HTML is too crappy to be parsed) and I would like to remove <a href>
tags, but keep text in the tags.
I'm searching around regex but still not find a good way to do that.
All advices are welcome!
© Stack Overflow or respective owner