Regular Expressions with RegExr

RegExr Screenshot
RegExr Screenshot (Sunil Rodger)

Regular expressions are incredibly useful when programming for pattern matching against strings, but they can be quite confusing when you’re first getting started with them. I’ve been using them intermittently for several years (scripting is not my day job) and certainly cannot claim to have mastered their use.

RegExr is a fantastic tool for checking that your regular expressions work as intended, or just playing with them to see what you can do. Although there are apps dedicated to this which are more fully-featured, such as Oyster for the Mac, RegExr is a very good starting point.