Enter a pattern
Write the expression without slash delimiters and choose flags.
Run a regular expression against sample text in your browser and inspect every match locally.
The JavaScript engine checks your text in an isolated worker.
Write the expression without slash delimiters and choose flags.
Paste a sample into the editor; Ctrl/Cmd + Enter runs the test.
Check indexes, text and capture groups, or fix the reported error.
Test JavaScript regular expressions against sample text locally. Matches and capture groups stay in your browser.
The JavaScript engine applies the pattern and flags to your sample. The g flag finds all matches; without it, the first match is returned.
\b[A-Z][a-z]+\b with g finds Ada and Grace in “Ada met Grace”.
The pattern is valid, but it does not match the selected text and flags.
No. Testing runs locally in your browser.