Hacker News new | ask | show | jobs
by thesuperbigfrog 2132 days ago
This is why Perl and regular expressions have been so popular on Unix and Linux systems for the past 30 years or so.

Python and Ruby are also very handy for these kinds of tasks.

People joke about regular expressions being another problem to solve, but they really are an elegant solution to handle a LARGE portion of text processing needs.