In order to validate an email address, use the following function;

Public Function IsValidEmailAddress(ByVal EmailAddress As String) As Boolean

    Dim Expression As New System.Text.RegularExpressions.Regex("[email protected]+.S+")


    If EmailAddress = "" Then


        Return True




        Return Expression.IsMatch(EmailAddress)


    End If


End Function

By | 2013-01-07T14:00:00+00:00 January 7th, 2013|.Net Framework, Validation,, Web|0 Comments

About the Author:

Leave A Comment