IsEmailAddress Method
Definition
IsEmailAddress(string)
Determines whether the specified value has a valid format of an email address.
public static bool IsEmailAddress(string value)
Parameters
valuestringThe string to verify has a valid format of an email address.
Returns
- bool
trueif the specifiedvaluehas a valid format of an email address; otherwise,false.
Remarks
In my search for the most comprehensive and up-to-date regular expression for email address validation, this was the article I choose to implement: http://blog.trojanhunter.com/2012/09/26/the-best-regex-to-validate-an-email-address/.