C# Regex Match if Given String is a valid email

1
2
public static Boolean IsEmailValid(String Email) {
String RegularExpression = @"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}" +
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.