On the Mac I use at work, RegexRX is installed. Unfortunately, It only runs on OS X and I'm looking for a GNU/Linux alternative, preferably a FLOSS one.

The key functionality that I require is:

  1. Given a regex, show what text does/doesn't match the pattern
  2. Provide a way to export the pattern as a search pattern in a number of languages (mainly PHP and Python).

I've already looked at alternativeto.net and tried Regexp Testing Tool to no effect.

2 Answers 2


I've found RegExr very easy to use; it's an online tool that lets you build a regular expression as well as how it matches a sample text.

RegExr screenshot


  • Edit regex and see matches live
  • Online (runs anywhere with a browser)
  • FLOSS (MIT license)
  • Explains the meaning of various characters in the expression when cursor hovers over them
  • Includes a cheat sheet and reference for the occasion when you forget exactly what something does


  • Export expression/pattern available but not specifically for Python/PHP (although I'm not sure how much that matters, given how trivial it is to write code once the pattern is given)
  • Thanks. I'll put it through its paces and see what I can see. If I get the results I want, I'll accept your answer. Nov 4, 2014 at 9:41

I personally use the Google Chrome Regular Expression Checker tool from the Chrome Extensions.

It is free and a compliant regexp will work in both PHP and python by simple copy and paste.

enter image description here

  • 2
    Thanks for the suggestion, but I can't seem to find it in Chrome's Web store. Could you please provide a link? Nov 3, 2014 at 11:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.