> Parsing text with regular expressions is like eating rubbish. In the 21 century, we send and receive data structures.
Of course you do, if you're starting from scratch. But since we tend to work on the Internet, which has a long history and myriad data formats and protocols, we often (rightly) use regex to validate and parse.