http://www.perlmonks.org?node_id=406540


in reply to HTML regexes

I know many people believe you should use modules when messing with HTML for things like this and I don't believe that makes it any better.

Um, the reason it makes it better is that someone has done the work already, tested it, and packaged it. Unless, of course, it's a homework problem where you need to show how it's done ...