Validate number and email (Regular Expression)
An email address consists of:
- One or more letters, numbers, and underscores.
- followed by an @ sign.
- followed by two or more letters, numbers, or dashes for the domain name.
- followed by a dot.
- followed by two or more characters for the top-level domain name.