How can test I regular expressions using multiple RE engines? [closed]

How can I test the same regex against different regular expression engines?


The most powerful free online regexp testing tool is by far http://regex101.com/ - lets you select the RE engine (PCRE, JavaScript, Python), has a debugger, colorizes the matches, explains the regexp on the fly, can create permalinks to the regex playground.

Other online tools:

  • http://www.rexv.org/ - supports PHP and Perl PCRE, Posix, Python, JavaScript, and Node.js
  • http://refiddle.com/ - Inspired by jsfiddle, but for regular expressions. Supports JavaScript, Ruby and .NET expressions.
  • http://regexpal.com/ - powered by the XRegExp JavaScript library
  • http://www.rubular.com/ - Ruby-based
  • Perl Regex Tutor - uses PCRE

Windows desktop tools:

  • The Regex Coach - free Windows application
  • RegexBuddy recommended by most, costs US$ 39.95

Jeff Atwood [wrote about regular expressions]( post:).

Other tools recommended by SO users include:

  • http://www.txt2re.com/ Online free tool to generate regular expressions for multiple language (@palmsey another thread)
  • The Added Bytes Regular Expressions Cheat Sheet (@GateKiller another thread)
  • http://regexhero.net/ - The Online .NET Regular Expression Tester. Not free.

RegexBuddy


I use Expresso (www.ultrapico.com). It has a lot of nice features for the developer. The Regulator used to be my favorite, but it hasn't been updated in so long and I constantly ran into crashes with complicated RegExs.