Published in: ASP
Function RegExpTest(sEmail) RegExpTest = false Dim regEx, retVal Set regEx = New RegExp regEx.Pattern ="^[\w-\.]{1,}\@([\da-zA-Z-]{1,}\.){1,}[\da-zA-Z-]{2,3}$" regEx.IgnoreCase = true retVal = regEx.Test(sEmail) If not retVal Then _ exit function RegExpTest = true End Function
You need to login to post a comment.
