RegexPlanet
Testing
Go (beta)
Java
JavaScript
.Net
Perl (beta)
PHP (beta)
Python
Ruby (beta)
Tcl (beta)
XRegExp (beta)
Previous version
Cookbook
Support
login
MSDN
overview
best practices
behavior details
Regular Expression Test Page
for .Net
|
Share
Test Results
Expression to test
Regular expression:
Options:
Case-insensitive matching (IgnoreCase)
ignore cultural differences in language (CultureInvariant)
^ and $ so they match at the beginning and end, respectively, of any line, and not just the beginning and end of the entire string (Multiline)
dot (.) matches every character instead of every character except newlines (Singleline)
only explicitly named or numbered groups of the form (?<name>…) are valid captures (ExplicitCapture)
Eliminate unescaped white space from the pattern and enable comments marked with # (IgnorePatternWhitespace)
search will be from right to left instead of from left to right (RightToLeft)
ECMAScript-compliant behavior. This value can be used only in conjunction with the IgnoreCase, Multiline, and Compiled values. (ECMAScript)
Replacement:
Input 1:
Input 2:
Input 3:
Input 4:
Input 5:
Cookbook:
View Recipe
×
Desired Result
Target pairs in the string: