Tonight our user group talked about regular expressions, or regex. While I think I'm pretty good with them - I didn't have a good tool to write them. I typically just fired up a ColdFusion file and did my tests via the browser.
The speaker at tonight's meeting showed off The Regex Coach, a real handy, but Windows only, little tool to let you test regular expressions. Now I just need to find a Mac equivalent.
Archived Comments
Decent RegEx cheatsheet
http://regexlib.com/CheatSh...
try the QuickREx plugin for eclipse:
http://www.bastian-bergerho...
test
While it looks like QuickREx might have more options, I've been happy with RegEx Tester for Eclipse:
http://brosinski.com/regex/...
I use RegexTester as well and love it. There's also a widget available for Mac that I've used a few times and it seems to do the job as well.
complete regex n00b but I have used the mac widget and it helped with my first use of regex. I'm checking out all the other recommendations right now.
I use the RegEx coach and have to say that it ROCKS. I am sure I don't use it to its full potential (it has a lot of options), but it has gotten me through a lot of sticking points.
One thing to keep in mind is that CF uses a subset of the PERL regEx engine. So some RegEx that work in some of these tools may not work in CF
I have personally found the regulator to be an invaluable tool while writing regex.
http://sourceforge.net/proj...
you often hear people saying (or read it on their blog) that what often makes the difference between 2 developers is how good they are at writing queries. I think it's pretty much the same with regexps. You will find hordes of programers out there that have no idea how to write one. admitedly, you write more queries than regexps on a day to day basis. at least I do :-)