VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Validate an email address using VB.NET and Regular Expressions.

by Gehan Fernando (47 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 28th May 2007
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Validate an email address using VB.NET and Regular Expressions.

Rate Validate an email address using VB.NET and Regular Expressions.



return Regex.IsMatch(emailAddress, "^([\w-]+\.)*?[\w-]+@[\w-]+\.([\w-]+\.)*?[\w]+$")
End Function   

Download this snippet    Add to My Saved Code

Validate an email address using VB.NET and Regular Expressions. Comments

No comments have been posted about Validate an email address using VB.NET and Regular Expressions.. Why not be the first to post a comment about Validate an email address using VB.NET and Regular Expressions..

Post your comment

Subject:
Message:
0/1000 characters