3 ms·
There's also incredibly low stakes in allowing a technically-invalid email address to pass validation. Just use a very permissive pattern (e.g. contains an '@')
by eli 5y ago
There's also incredibly low stakes in allowing a technically-invalid email address to pass validation. Just use a very permissive pattern (e.g. contains an '@') and be done with it.
No matter what you will constantly be getting addresses that conform to the spec but cannot actually receive mail.