Regex Tester
Live regex matching and groupsRuns locally · nothing uploaded
Highlighted matches
Contact: alice@example.com, bob@test.com
support@toolbox.com
Matches (3)
| # | Index | Match | Groups |
|---|---|---|---|
| 1 | 9 | alice@example.com | $1: alice $2: example |
| 2 | 28 | bob@test.com | $1: bob $2: test |
| 3 | 41 | support@toolbox.com | $1: support $2: toolbox |
Also works as:regex testerregular expression test
How to use
- 1Enter a pattern and flags.
- 2Enter test text; matches are highlighted.
- 3Optionally preview a replacement.
FAQ
Which regex flavor is used?
JavaScript (ECMAScript), the same as browsers and Node.js.
Why is only one match found?
Add the g flag to find all matches.