Regex Tester
Test JavaScript regular expressions with flags, matches, capture groups, named groups, highlighting, and replacement preview.
Enter only the pattern between slashes: use \\d+ instead of /\\d+/g, then toggle the g flag.
Preview uses JavaScript replace: $1, $2, and
lt;name> follow browser RegExp rules.