Email regex pattern
Copy and test a JavaScript regex for common email-style addresses, with examples, limitations, and a one-click link to the regex tester.
Email regex pattern
Validate whole value
Use anchors to check whether the complete value matches.
Regex: ^[^\s@]+@[^\s@]+\.[^\s@]+$
Flags: iu
Search in text
Find matching fragments inside a larger block of text.
Regex: [^\s@]+@[^\s@]+\.[^\s@]+
Flags: giu
Examples that match
name@example.comfirst.last@company.co.uk
Examples that do not match
name@example@example.com
Limitations
This pattern finds common email-style addresses. It is not a complete RFC 5322 validator.
Tools in this category
- Base64 encoder / decoder
- Color contrast checker
- Color palette generator
- Configuration file converter
- Docker Compose analyzer
- Dockerfile analyzer
- Hash generator
- JSON Converter
- JSON formatter
- JWT encoder / decoder
- Number base converter
- Password generator
- Regex inspector
- Regex pattern library
- URL encoder / decoder
- UUID generator