Stumped by regular expressions? Try the Regex Coach

In: Neat Stuff|Web development

28 Aug 2003

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 Responses to Stumped by regular expressions? Try the Regex Coach

Avatar

Norman Richards

August 28th, 2003 at 9pm

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.

Avatar

Daniel Campagnoli

August 29th, 2003 at 1am

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.

Avatar

Cheah Chu Yeow

August 29th, 2003 at 6am

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

Avatar

caiuschen

August 29th, 2003 at 7pm

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

Avatar

MILF

February 4th, 2004 at 11pm

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!

Avatar

Avochelm

February 14th, 2004 at 7pm

To milf:

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

Avatar

Anonymous

August 29th, 2003 at 7am

Avatar

CH*AS Blog

September 5th, 2003 at 1pm

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…

Avatar

asdasdasd

January 29th, 2005 at 12am

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

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