Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

email regex c#


public bool IsValid(string emailaddress)
{
    try
    {
        MailAddress m = new MailAddress(emailaddress);

        return true;
    }
    catch (FormatException)
    {
        return false;
    }
}

Source by codefantasy.org #
 
PREVIOUS NEXT
Tagged: #email #regex
ADD COMMENT
Topic
Name
7+8 =