Validating an email
An email address is a string of a subset of ASCII characters separated into two parts by an @ symbol . Is Match Method (String, String) - indicates whether the specified regular expression finds a match in the specified input string.
The part before the @ sign is the local part of the address, and the part after the @ sign is a domain name to which the email message will be sent . The pattern parameter consists of various regular expression language elements that symbolically describe the string to match pattern .
Please try again in a few minutes: if the problem persists, then the domain for the email address can't accept email messages.
A socket connection error occured while connecting to the mail exchanger which serves the email address domain.
If you want to validate email addresses entered into your form but avoid complicated tinkering and scripts, HTML5 lets you rely on the browser — without effort, and without turning to Java Script.
Browsers that do not recognize type="email" should (and, as far as one can tell, all will) treat the input field like an ordinary type="text" field.
~ characters are legal in the local part of an e-mail address but in the above regular expression those characters are filtered out. It begins with at least one or more word characters including the underscore, equivalent to [A-Za-z0-9_].