Validate number and email (Regular Expression)

An email address consists of:

  1. One or more letters, numbers, and underscores.
  2. followed by an @ sign.
  3. followed by two or more letters, numbers, or dashes for the domain name.
  4. followed by a dot.
  5. followed by two or more characters for the top-level domain name.

Enter 4 digits:
Enter email: