Tag Archives: e-mail
How to extract username from an e-mail address string
If you need to extract the username from an e-mail address string then this snippet can help you. For instance, you can use this function inside a loop, while selecting emails from a database.
Read moreHow to extract domain name from an e-mail address string
If, for any reason, you need to extract the domain from an e-mail address (or from multiple e-mail address that are in a database) then this snippet can help you.
Read moreE-Mail Address Validator
This function checks if an email address is valid or not. For example it is very useful if you have to validate a html form where someone should enter a real email address.
Read more