Regex Tester
Try regex patterns against sample text and see matches.
Test string
Matches
2
Flags: /gi
| # | Match | Index | Groups |
|---|---|---|---|
| 1 | hello@utiio.com | 14 | — |
| 2 | support@example.org | 33 | — |
In-depth explanation
Enter a JavaScript-compatible regular expression, toggle flags, and see all matches with indices and capture groups. Everything runs locally in your browser — your inputs are not uploaded to produce the result.
JavaScript (ECMAScript) regular expressions, as used in the browser. G = global, i = ignore case, m = multiline, s = dotAll, u = Unicode.
Matching runs locally in your browser. Tweak the inputs above to compare options, then copy or note the result you need.
Flags change meaning: g finds all matches, i ignores case, m changes start/end anchors, s lets the dot match newlines, u enables Unicode. JavaScript regex is not PCRE — lookbehinds and some escapes differ.
Catastrophic backtracking can freeze a tab on evil patterns and long text. Keep tests small. Matches show indices and groups so you can see what actually captured.
Frequently asked questions
Which regex flavour is this?
JavaScript (ECMAScript) regular expressions, as used in the browser.
What do the flag buttons mean?
g = global, i = ignore case, m = multiline, s = dotAll, u = Unicode.
Is my text uploaded?
No. Matching runs locally in your browser.
Related tools
Explore similar utilities you might find useful next.
