EmailAddressValidatorRegexPattern Property
Gets or sets the regular expression to check syntax of e-mail addresses.

Namespace: MailBee.AddressCheck
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public string RegexPattern { get; set; }

Property Value

Type: String
The string which represents the regular expression. The default value is "^(([\w-]+['\.])+[\w-]+|([\w-]+))@((([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])){1}|([a-zA-Z0-9]+[\w-]*\.)+[a-zA-Z]{2,9})$".
MailBeeInvalidArgumentExceptionvalue is a null reference (Nothing in Visual Basic).
This property is used in all modes of e-mail address verification (because RegexCheck is the minimum level of verification, and all other levels include it as well).
See Also