For common use cases, it is sufficient to use the regex provided by WHATWG: email = local-part "@" domain local-part = 1*(atext / ".") domain = label *("." label) label = let-dig
PS: A valid email address does not necessarily be an email address that exists.These patterns are used with the exec and test methods.In the following example user enters a email address.While the code part is in ASP, the important part is at the top, which deals with email validation using Java Script.ASP/Jscript Email Validation For a nice listing of regex patterns, visit Regex
When the user presses Enter, than Java Script checks that email address is valid or not.