Hacker News new | ask | show | jobs
by grendelt 686 days ago
I read through Learning Perl and practiced different regex patterns with simple programs. Programming Perl dove deeper, as did the OReilly Mastering Regular Expressions book.

That and practice. I frequently check them with online regex tools to make sure the regex does what I want before I implement them.