Does anyone know what the regex used by the email validator in ASP.NET is?
Apart from the client side validation with a Validator, I also recommend doing server side validation as well.
bool isValidEmail(string input) { try { var email = new System.Net.Mail.MailAddress(input); return true; } catch { return false; } }