c# email address validation regular expression code example Example: regex for email c# Regex regex = new Regex(@"^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$");