Logo of RBits

Text

New

Regex Tester

Validate ECMAScript regular expressions, inspect matches, captures, and replacement output.

regexpatternreplace
Runs locallyECMAScript syntaxCapture-aware output
Pattern Input

Enter the pattern without surrounding slash delimiters.

Supports ECMAScript flags such as g, i, m, s, u, v, y, and d.

Uses JavaScript replacement syntax like $1, $&, and $<name>.

Matches
Waiting
No pattern entered
Add a regular expression pattern or load the sample.