whobutdrew: (Rational)
Drew ([personal profile] whobutdrew) wrote in [site community profile] dw_dev_training2009-10-26 09:00 am

Offering Regular Expression help

Hey all! I just wanted to offer up a tool that I use whenever I deal with regular expressions to make sure that they are returning what I expect them to.

The RegEx Coach may not have the most intuitive interface at first glance, but it basically boils down to this: Put your regex in the top field, and sample string(s) in the bottom one. What gets highlighted is what will get returned by your expression. It can also be used with the global and substitute options.

Currently, it is a Windows-only tool, but now-unsupported versions exist for Linux/BSD. There's also an 'homage' port here in Java, but I haven't used it.

Anyway, thought I'd point a few people towards that as it has helped me across numerous college classes and now all the way out here to my first DW bugpatch (Yay! Told you I'd find a way to give back!).
cesy: Teal'c saying "This is how I look when I am gleeful" (Stargate Teal'c gleeful)

[personal profile] cesy 2009-10-26 04:37 pm (UTC)(link)
I love your icon.
hypatia: (Default)

[personal profile] hypatia 2009-10-26 09:55 pm (UTC)(link)
IIRC the latest windows version runs ok in Wine on Linux/Mac :)

I really like http://regexpal.com/ for JS regexes. It's really slick.