I have a html string like <FONT id="test" face="Arial"><SPAN><P>This is some content...</P></SPAN></FONT>
. Now using javascript regex I want to remove the font tag with id test and the span tag with their associated closing tags.
So that the output becomes <P>This is some content...</P>
.How to do this ?
tags surrounding the text ?
– Manse Nov 04 '11 at 15:43