Regular Expression Tester
The tool provides the following features:
- Parsing of your existing regular expressions from code for C# and VB.
- Parentheses matching.
- Instant compilation of your regular expressions as you type along with error message feedback.
groups and captures highlighted in color on your input data so you get
an easy overview of exactly how your regular expression matches your
- Saving regular expressions for later use.
is performed in a background thread so it can be aborted if it gets
stuck on an inefficient regular expression (try for instance (a|aa)*b on
is available from the right-click menu in the code editor or by
shortcut Ctrl R, Ctrl X. You can use it in the following ways:
the Regular Expression Tester without selecting any text in the code
editor. You will get an empty window, where you can start creating your
regular expression with options. When you select
"Insert", a statement like new Regex(@"\s*a\s*",
RegexOptions.IgnoreCase | RegexOptions.Compiled) is generated.
a string containing a regular expression including quotes - e.g.
"(a*b)c" - and start the editor. Your expression will be in the regular
expression field to test. When you're done, select
"Insert" and the string in your code window will be updated.
a string containing a regular expression and options - e.g. ("(a*b)c" +
"d*[^ef]*" | RegexOptions.Compiled) - and start the editor. Your
expression will be in the regular expression field
to test and the options will be selected. When you're done select
You can save your regular expressions
for later use, by clicking "Save" when you're editing a regular
expression. All your saved expressions are available from the "Manage
Regular Expressions" tab. Double clicking one of them
in this view will open it for edit.