Hey ,
i wanna check if it's a hotmail email something like this : [email protected]
which hotmail.com is the domain
i use this RegularExpressions to check if it's valid
i wanna check if it's valid hotmail.com accountCode:If (System.Text.RegularExpressions.Regex.IsMatch(txtemail.Text, "^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$") = True) Then MsgBox("Yep") Else MsgBox("Not") End If
Thanks


Reply With Quote


