Abstract
In this article, we are giving an overview of free tools to create and test Regex expressions. Even if one is skillful in creating Regex expressions, if they are complicated or you do not do it often, it is good to have an available tool to test Regex on different texts and verify they work properly.
Introduction
In this article, we will give a short overview of a selection of freely available tools to test Regex, which are regularly maintained and up to date. We plan to provide a brief overview of the main characteristics and our impressions. Here is a list of free tools that caught our attention on the internet:
Website tools, free
- Website Regex101
- Website RegexPal
- Website RegExr
- Website CyrilEx Regex Tester
Windows apps, free
- Regex Hero application
- Expresso application
Visual Studio-addon, free
- Visual Studio extension – Regex Editor
We will shortly test every tool with the same Regex expression and text:
- Regex expression: /[-.\w]+@([\w-]+\.)+[\w-]+/g
- Test string: “[email protected] @ hisaa.bb.cc @ [email protected]”
Website Regex101
This is a website tool. Lovely interface and coloring of both expressions and test text. Here is a screenshot of the main form, divided into 2 parts to fit the article:
Left side panel

Right side panel

Please notice the following in the main form,
- Ability to choose the flavor of Regex (i.e., Javascript, C#, etc.) tested
- You can choose the function (match, substitution, etc.) tested
- Notice that it shows how many steps were performed to analyze the text (in this case, 42 steps). That can help to establish how efficient your Regex is
- It provides an excellent "Explanation" in the natural language of Regex expression.
- Shows a list of matches for the test text
Interesting is a Code generator function that can generate code in different languages:
Generated code C#

Generated code Javascript

Interesting is the "Regex debugger" function, which is available just in the PHP version of Regex, that can help analyze the execution of Regex and its complexity, and you can execute Regex step-by-step and see where it fails.

Altogether, it gives a nice impression of this online tool.
Website RegexPal
This is a website tool. Here is a screenshot of the main form,

Note the following,
- The tool is oriented toward Javascript and Perl (PCRE) versions of Regex
- Nice coloring of Regex expression
- Matches are not listed separately but highlighted
Generally, it gives an impression of a humbler version of the test tool.
Website RegExr
This is a website tool. Here is a screenshot of the main form, divided into 2 parts to show different panels:
Panel "List" selected,

Panel "Explain" selected,

Note the following,
- The tool is oriented toward Javascript and Perl (PCRE) versions of Regex
- Nice coloring of Regex expression
- Matches are listed below, but for info on groups, you need to change the panel and select the match in the browser.
- It provides an "Explain" panel that graphically shows an explanation of the Regex expression. We find it interesting and even better than "natural language explanation". The web form is rigid, and it isn't easy to see the full expression. You need to scroll, and that ruins the fun of it.
We didn't like that the web form is so rigid, and it is impossible to move borders and enlarge panels of interest.













Join the conversation! Your thoughts help the community grow.