First, I don't think you meant to say URLs in your thread title. URLs and HTML tags are very different things.
Second, you might also want to consider simply passing your HTML string through a regular expression to remove all the HTML tags. I suspect you may even find some pre-existing solutions (i.e. patterns) out there on the internet.