"Oh Yes You Can Use Regexes to Parse HTML!"
Yeah, if you allow yourself some Perl to help you with those parts that regexes can't handle...
Technically correct, but did you see the regex he uses? It spans 82 lines...
And the obligitory caveat from the comments:
> While arbitrary HTML with only a regex is impossible, it's sometimes appropriate to use them for parsing a limited, known set of HTML.
https://stackoverflow.com/questions/1732348/regex-match-open...