Why you shouldn't use Regex to parse HTML

Mar 17, 2014 2:33 PM

Proxy404

Views

2302

Likes

18

Dislikes

4

A coworker found what is possibly the best answer to a question on Stack Overflow

Some of the comments are just as good: http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags