I want to validate a registration form that accepts an email address in the following format (it’s a subdomain)P
myname@mail.domain.ie
Actually,because there can be so many variations of emails nowadays, is there a handy regex for checking just the last part of the email e.g. .ie, or .com
GF
http://www.w3schools.com/php/filter_validate_email.asp:
This will validate good emails, including the one you gave as an example.