http://qs321.pair.com?node_id=181437

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

From an HTML string I would like to remove all html tags but keep only  <font=xyz ...> and </font> tags. Any suggestions. Actually as I am writing this, whatever expression you are using for processing CODE tag here on this website will work help me too. I can have a while loop and when it detects start tag and setup a flag and when it is done and reset the flag. But was trying to see if there are any different ways