in reply to simple regEx

I agree with marto that when parsing HTML it's better to use one of the HTML::* modules than a regex. However, I usually use HTML::Treebuilder rather than TokeParser. We all have our favorite ways.

A good discussion of various ways to parse html, from someone who actually prefers doing it with a regex and disses all us HTML::*ers is at Being a heretic and going against the party line.. Good luck!