Suppose you are writing a program to match an e-mail address. The rules for email addresses are:
- The e-mail username can consist of lowercase and uppercase Latin letters, digits and symbols
_%+-.. - The domain name (the part that comes after the @ symbol in an e-mail address) can consist only of lowercase and uppercase Latin letters.
- The e-mail domain should include a subdomain and a top-level domain.
Here are some valid examples:
kat9%[email protected]
Which of the following regexes can help you write this program?