Based on urlregex.com
Validate email syntax in JavaScript
Is valid | |
---|---|
Fred Bloggs@example.com | true |
Joe.\Blow@example.com | true |
"Abc@def"@example.com | true |
"Fred Bloggs"@example.com | false |
customer/department=shipping@example.com | true |
$A12345@example.com | true |
!def!xyz%abc@example.com | true |
_somename@example.com | true |
Abc@def@example.com | true |