MochiRegExp - JavaScript Regular Expression (RegExp) Explorer

This demo does "live" Regular Expression matching to help you toy with JavaScript Regular Expressions. It takes advantage of MochiKit's MochiKit.DOM to manipulate the display and MochiKit.Async to facilitate the "half a second" live updating.

The table will update while you're typing if you're idle for half a second or when you tab away from the field, whichever comes first. If you enter an invalid RegExp, the RegExp label will turn red (the "error" class). For a good JavaScript's RegExp reference, see Regular Expressions over at DevMo.

View Source: [ index.html | mochiregexp.js ]
Property Result Repr