Regex Tester
Test regular expressions with live highlighting and capture groups, and replace matches.
$1, $2… insert a group, $<name> a named group, $& the whole match. Without the g flag only the first match is replaced.
Test regular expressions with live highlighting and capture groups, and replace matches.
$1, $2… insert a group, $<name> a named group, $& the whole match. Without the g flag only the first match is replaced.