rodrigosantosbr

Email Regex

Jan 15th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

Email Regular expression:

Most email validation regexps are outdated and ignore the fact that domain names can contain any foreign character these days, as well as the fact that anything before @ is acceptable.
The only roman alphabet restriction is in the TLD, which for a long time has been more than 2 or 3 chars (.museum, .aero, .info). The only dot restriction is that . cannot be placed directly after @.

Site: https://regex101.com/


Expression:

^.+@[^\.].*\.[a-z]{2,}$

Example text:

Shirley Oliveira 
Telefone: (85) 9.8190-1177 
E-Mail:[email protected]

Fábio Raymundo
Telefone: (85) 9.8206-8292
E-Mail: [email protected]

Marketing North Shopping Fortaleza
(85) 3404-3000
[email protected]
Add Comment
Please, Sign In to add comment