LOADING
PLEASE WAIT...
LOADING
PLEASE WAIT...
Test a JavaScript regular expression against any text. See matches, capture groups and apply flags (g, i, m, s) instantly.
A regex is a pattern that finds text. \\d+ means “one or more digits”. This tester uses the same engine as JavaScript in your browser.
Testing runs in your browser. Your pattern and text are never sent to any server and never stored.
No. Type only the pattern, e.g. \d{3}-\d{4}. Flags are the buttons, not letters after a slash.
Without g, JavaScript stops at the first match. Turn g on to list every hit.
Parentheses save parts of a match. In (\w+)@(\w+), group 1 is the name and group 2 is the domain.
It is JavaScript (ECMAScript) regex — the same as in the browser and Node. Lookbehinds and some Unicode details differ from Python and PCRE.
The tool shows the error from the JavaScript engine (for example an unclosed bracket) instead of matches.
Yes. Everything runs locally. Safe for logs and sample data.