I want to include email validation for my register form using regular expression
I've tried this code regex for validating my email
Dim ValidateEmail As Boolean
ValidateEmail = Regex.IsMatch(EmailAddress.Text, "^([\w]+)@([\w]+)\.([\w]+)$", RegexOptions.IgnoreCase)
I tried to input some email in my EmailAddress. The text which is my variable name, but I got an error after putting some dot ex: jannus.domingo@yahoo.com after Janus the dot is the error I got but after I removed dot on jannus.domingo@yahoo.com then it's fine.