Articles tagged 'Regular expressions'

Cover image for Parsing HTML with regular expressions for fun and profit
in Blog

Parsing HTML with regular expressions for fun and profit

You shan't use Regexp for HTML parsing It's well-known that parsing HTML with regular expressions will quickly lead you to failure and madness. This was beautifully explained in this Stack Overflow answer. That's because HTML has a context (basically which tag or attribute you're in) whereas regular expressions can't handle …

Cover image for How to create an email parser from scratch?
in Blog

How to create an email parser from scratch?

So, your boss just asked you to solve that "email problem" that slows the company down. Hundreds of automated emails on which data entry is done manually, every morning, clogging the employees' mailboxes. You, being smart and efficient, immediately sees the potential to create an email parser system. What is …