The following pattern checks whether the input string is a valid email address in the form "email@example.com". Actually, it does not have to be a ".com" address. Any combination of letters following the last period are fine. Also, the email name can have a dash or be separated by one or more periods. The Domain name can also have multiple words separated by periods. Thus, it will validate firstname.lastname@example.org and email@example.com.