- No data uploaded
- Instant results
Regex for Email Address
Pattern: /\b[\w.+-]+@[\w-]+(?:\.[\w-]+)+\b/gi. Test it below and adapt it to your data — validation regexes are always a trade-off between strictness and real-world inputs.
Regex for Email Address
Matches/\b[\w.+-]+@[\w-]+(?:\.[\w-]+)+\b/gi
Contact sales@example.com or jo.smith+news@mail.co.uk today.
| # | Match | Index | Groups |
|---|---|---|---|
| 1 | sales@example.com | 8 | — |
| 2 | jo.smith+news@mail.co.uk | 29 | — |
JavaScript (ECMAScript) regular expressions. Without the g flag only the first match is used by String.match — this tester always lists all matches.
Frequently asked questions
Is my data uploaded?
No. The calculation runs entirely in your browser — nothing you type is sent to a server.
Is it free?
Yes — free, unlimited and no sign-up.