#1 alex@example.com
8 - 24
- Group 1
alex - Group 2
example.com - name
alex - domain
example.com
Regex testing runs locally in your browser. Nothing is uploaded.
Enter a pattern, choose JavaScript regex flags, highlight matches, inspect capture groups, and preview replacement output.
Regex testing runs locally in your browser. Nothing is uploaded.
2 matches
alex@example.com8 - 24
alexexample.comalexexample.comsam@example.com29 - 44
samexample.comsamexample.comUse this regex tester for log snippets, validation patterns, search expressions, extraction rules, named groups, and replacement templates while you iterate on JavaScript regular expressions.
Patterns are compiled and tested in your browser with native RegExp behavior. Invalid patterns show inline errors, and your test string is never sent to a server.
Type the pattern without surrounding slashes, then select any JavaScript flags you need.
Add the text you want to search and review highlighted matches plus capture groups.
Optionally enter a replacement template using $1 or named group syntax to see the output live.
No. Regex testing runs locally in your browser.
It uses the JavaScript RegExp engine built into your browser.
Yes. The match list shows indexed groups and named groups when your browser reports them.
Pathological regular expressions can make the current browser tab slow, but they do not affect a server because everything runs locally.