Monday, November 28th, 2005

Rejax: Ajax Regex Tester

Category: Utility

<>p>Brendon Crawford has created a little Regular Expression Tester called Rejax, that gives you instant feedback on your test regex queries.

Brendon built the engine on his AJFORM Ajax toolkit, and it allows you to query both PHP and JavaScript-style regular expressions.

I wrote about a regex application called Regex Coach, and would love to see Rejax taken to this level.

The first feature I would love to see, is the ability to put in ( )’s and see the matches separately.

ajax-regex.jpg

Posted by Dion Almaer at 7:17 am
6 Comments

+++--
3.8 rating from 13 votes

6 Comments »

Comments feed

Great utility. It would be extra great if it also gave a list of what parens captures actually capture in the output.

Comment by Claus — November 28, 2005

JavaScript’s RegExp object actually doesn’t provide you with all the functionality you need to display grouped matches separately and correctly.

Rejax doesn’t seem to highlight matches correctly in Safari (it displays $& instead of the match), though it does in Firefox

MochiKit has had a regex demo for some time now, but its stylesheet isn’t as fancy:
http://mochikit.com/examples/mochiregexp/

Comment by Bob Ippolito — November 28, 2005

JavaScript Regex testers aren’t uncommon. An individual notified me just recently of something he put together that accomplishes the same goal. You can find it here: http://bokehman.com/regex_checker

Comment by Jonathan Fenocchi — November 28, 2005

[...] We wrote before about some ajax regex tools to help test regular expressions. Recently we came upon rexv.org, which really is the swiss army knife of online reg ex tools. It supports three different regex modes: PHP PCRE, PHP Posix, javascript. Also includes options for greediness, case sensitivity, unicode, and others. [...]

Pingback by Ajaxian » Rexv.org - powerful regex evaluator — January 16, 2006

there is such an AJAX tool for several years already at http://www.koralsoft.com/regextester

Comment by Venimus — May 26, 2006

ReJax has tons of new updates and now has a new home:

http://projects.aphexcreations.net/rejax/

Comment by Brendon — February 18, 2007

Leave a comment

You must be logged in to post a comment.