Remove specific tags from a chunk of HTML code