Stumped by regular expressions? Try the Regex Coach

Peter Bowyer’s entry on The Regex Coach - interactive regular expressions alerted me to the very excellent Regex Coach.

The Regex Coach allows you to experiment with your regular expression (regex) and quickly determine how it would match your target string. It would be a very useful tool for trying out all any examples in any tutorials or books you may be reading. Also serves as a good testing platform for verifying your regex interactively (as opposed to writing it in your script, running it, and then checking the results). I wish I had this when I was learning regex.

9 Comments & TrackBacks ()

Paper doll icon
Norman Richards's Gravatar

M-x re-builder in emacs does something very similar. You build expressions in the lower window which are matched in real time in the main buffer.

Posted by: Norman Richards on August 28, 2003 9pm

Paper doll icon
Daniel Campagnoli's Gravatar

There is a pretty new plugin for eclpise which is similar which can be found at http://brosinski.com/stephan/archives/000028.php. This looks a little more powerfull, thanks for the heads up.

Posted by: Daniel Campagnoli on August 29, 2003 1am

Paper doll icon
Cheah Chu Yeow's Gravatar

Daniel thanks for pointing that one out. It looks like it would be very useful, when I finally convert to using Eclipse.

Posted by: Cheah Chu Yeow on August 29, 2003 6am

Paper doll icon
's Gravatar

http://www.jouledata.com

Posted by: Anonymous on August 29, 2003 7am

Paper doll icon
caiuschen's Gravatar

Thanks for unearthing this. Now I might finally bother learning regexp.

Posted by: caiuschen on August 29, 2003 7pm

Paper doll icon
CH*AS Blog's Gravatar

Reguläre Ausdrücke
Regulaere Ausdruecke (wegen TikiText 0.52 ohne Umlaute) oder auf englisch regular expressions. Keith Devens hat die Seite regular-expressions.info gefunden, die sich mit dem ganzen Thema befasst. Weitere Links, die gerade * das Thema behandeln: Stumpe…

Posted by: CH*AS Blog on September 5, 2003 1pm

Paper doll icon
MILF's Gravatar

Yes regex is a life saviour :)… i’m currently trying to learn POSIX reg expresions but it’s damn tough!

This soft helps a little but mostly when you have some basic knowledge about the topic.

Well i have no and this may take some time.

If you happen to know any sites where i can find plain and simple (with examples) explanaition of this stuff i would be very grateful.

Just include some links here…

Regards!

Posted by: MILF on February 4, 2004 11pm

Paper doll icon
Avochelm's Gravatar

To milf:

There is an excellent tutorial here: http://gnosis.cx/publish/programming/regular_expressions.html of which I found the link @ php.net.

Posted by: Avochelm on February 14, 2004 7pm

Paper doll icon
asdasdasd's Gravatar

Try this one. All you need is a web browser; no downloads. It uses Javascript’s regex.

http://www.regular-expressions.info/javascriptexample.html

Posted by: asdasdasd on January 29, 2005 12am

You can subscribe to the RSS feed for comments on this post.

Sorry, this entry is no longer accepting comments. If you have something you really want to say, you can write me.