ReFiddle: Fiddle for Regexp testing
refiddle.com
refiddle.com
Nice work, though.
http://rubular.com is also a good one (Ruby regexes).
(js|re)?Fiddles? a) +awk m) +mysql
b) +ed n) +ooo
c) +egrep o) +perl
d) +emacs p) +php
e) +expect q) +postgres
f) +find r) +procmail
g) +gawk s) +python
h) +grep t) +sed
i) +javascript u) +tcl
j) +lex v) +vbscript
k) +lisp w) +vi
l) +mawk x) +vim
http://aurelio.net/txt2regex/It makes use of a hidden Java applet -- so it supports the somewhat larger Java regex syntax, doesn't send your data anywhere else for matching, and can hook into the string-probing to animate the process. (Click the 'animate?' link to show the animation step/speed controls.)
For example, you can watch the regex that tests whether a number is prime (by failing) or composite (by succeeding) via these two animations:
49: http://regex.powertoy.org/?pat=/^1%3F%24|^%2811+%3F%29\1+%24...
47: http://regex.powertoy.org/?pat=/^1%3F%24|^%2811+%3F%29\1+%24...
Is the applet requirement a deal-breaker for casual use? I might be able to feed the OpenJDK 7 regex classes through the Google Java->JS cross-compiler to get a pure-JS solution with the same syntax/animation capabilities.
For instant display or the stepwise animation, the lag of a server roundtrip could be a problem; for some users, posting data to a remote service might introduce privacy concerns. (The regex-powertoy can be run completely locally.)
See a demo: http://www.regexbuddy.com/demotest.html
It's a Windows program, but runs on Linux via WINE. It lets you debug regexes, has live highlighting of matched text, generates regex code in 15+ languages (Perl, Python, Ruby, PHP, C, C#, C++, Delphi, Java, Javascript, MySQL, etc) and is all around awesome.
I'm not affiliated with this program, but it is the BEST regex creation/testing program available anywhere.
It will save you oodles of time if you create (or debug) regular expressions more than 2 times in a year. It's the best software product I've ever bought with my own money.
• http://www.rexv.org/ — Supports: PCRE, Posix, Perl, Python, JS, Node.js modifiers. Only works online though.
• http://gskinner.com/RegExr/ — Implemented in Flash. Desktop version available.
• http://regexpal.com/ — Javascript regex only.
And it supports sharing & a cookbook too.
http://itunes.apple.com/us/app/patterns-the-regex-app/id4294...
They are a legitimate solution for efficient text matching problems.