Test
Regex Tester
Enter a pattern and some text to see matches highlighted live, inspect capture groups, and preview a replacement — all using the native regex engine in your browser.
Pattern
LocalTest string
Matches & groups
Replace
FAQ
Common questions
JavaScript (ECMAScript) regular expressions, using your browser’s native RegExp engine, so behavior matches what runs in JS.
g (global), i (ignore case), m (multiline), s (dotAll), u (unicode), and y (sticky). Toggle each independently.
Yes — both numbered groups and named groups (?<name>…) are listed per match, along with the match index.
Yes. Enter a replacement (with $1, $<name>, etc.) to preview the replaced output live. Nothing is uploaded.
Private by design
This runs entirely in your browser
No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.