News for hackers. Stuff that matters.
Re:Parsing HTML with Regex by sinkhole on Saturday January 05, 2013 @09:42PM (#5015037)
You cannot parse HTML with regex. You can find and match strings, but you can't actually parse html with regex.

Chuck Norris can parse HTML with regex.

Re:Parsing HTML with Regex by kristm on Saturday January 05, 2013 @09:45PM (#5015044)
"asking regexes to parse arbitrary HTML is like asking Paris Hilton to write an operating system"

This cracked me up :)