Hacker News new | ask | show | jobs
by sinkhole 4906 days ago
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.

1 comments

"asking regexes to parse arbitrary HTML is like asking Paris Hilton to write an operating system"

This cracked me up :)