Toggle navigation
RegexPlanet
Testing
Go (beta)
Haskell (beta)
Java
JavaScript
.Net
Perl (beta)
PHP (beta)
PostgreSQL (beta)
Python
Ruby (beta)
Rust (beta)
Tcl (beta)
XRegExp (beta)
Previous version
Cookbook
Support
MDN Regular Expressions
MDN RegExp Object
w3schools
Regular Expression Test Page
for JavaScript
Share:
Test Results
Expression to test
Regular expression:
Options:
Case-insensitive matching (i)
^ and $ so they match at the beginning and end, respectively, of any line, and not just the beginning and end of the entire string (m)
global - find all matches (g)
Replacement:
Input 1:
Input 2:
Input 3:
Input 4:
Input 5:
Cookbook:
View Recipe
×
Close
Desired Result
This is just an experiment and does not do anything yet!
Target pairs in the string: