E-mail address

Report a typo

Suppose you are writing a program to match an e-mail address. The rules for email addresses are:

  1. The e-mail username can consist of lowercase and uppercase Latin letters, digits and symbols _%+-..
  2. The domain name (the part that comes after the @ symbol in an e-mail address) can consist only of lowercase and uppercase Latin letters.
  3. The e-mail domain should include a subdomain and a top-level domain.

Here are some valid examples:

[email protected]

[email protected]

kat9%[email protected]

Which of the following regexes can help you write this program?

Select one option from the list
___

Create a free account to access the full topic