RegexPlanet
Testing
Go (beta)
Java
JavaScript
.Net
Perl (beta)
PHP (beta)
Python
Ruby (beta)
Tcl (beta)
XRegExp (beta)
Previous version
Cookbook
Support
login
JavaDoc
Regular Expression Test Page
for Java
|
Share
Test Results
Expression to test
Regular expression:
Options:
Force canonical equivalence (CANON_EQ)
Case insensitive (CASE_INSENSITIVE)
Allow comments in regex (COMMENTS)
Dot matches line terminator (DOTALL)
Treat as a sequence of literal characters (LITERAL)
^ and $ match EOL (MULTILINE)
Unicode case matching (UNICODE_CASE)
Only consider '\n' as line terminator (UNIX_LINES)
Replacement:
Input 1:
Input 2:
Input 3:
Input 4:
Input 5:
Cookbook:
View Recipe
×
Desired Result
Target pairs in the string: