What This Tool Does
This browser-based regex tester uses JavaScript RegExp syntax, highlights matches in test text, lists match indexes, shows numbered and named capture groups, and previews replacement output.
Text tool
Test regular expressions, inspect matches and groups, and preview replacements in your browser.
Test JavaScript regular expressions, inspect matches and capture groups, and preview replacement output locally in your browser.
This browser-based regex tester uses JavaScript RegExp syntax, highlights matches in test text, lists match indexes, shows numbered and named capture groups, and previews replacement output.
Regex testing runs locally in your browser. Patterns, test text, and replacement text are not uploaded to the backend.
It uses JavaScript RegExp syntax, so behavior may differ from PCRE, Python, Java, or other regex engines.
Yes. Named groups are shown when the browser supports JavaScript named capture groups.
No. Regex testing runs locally in your browser.