Monday, November 28th, 2005
Rejax: Ajax Regex Tester
<>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.
Related Content:












Great utility. It would be extra great if it also gave a list of what parens captures actually capture in the output.
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/
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
[...] 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. [...]
there is such an AJAX tool for several years already at http://www.koralsoft.com/regextester
ReJax has tons of new updates and now has a new home:
http://projects.aphexcreations.net/rejax/