r/ProgrammerHumor • • Sep 08 '17

Parsing HTML Using Regular Expressions

Post image
11k Upvotes

377 comments sorted by

View all comments

Show parent comment

1

u/Megatron_McLargeHuge Sep 08 '17

Since most people just want to scrape data out of divs and tables from specific sites, they don't need a theoretically sound general solution. But it's still easier to use a parser and xpath 95% of the time.