# Using Regular Expression in Mail List

When configuring the mail list, you can use regular expression to specify the domain or email address to allow wildcard blocking or allow.

Reference https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expressions (opens new window)

# Mail List Examples

  1. *mail.com Match address’s domain which included any character before mail.com [email protected] or [email protected]
  2. ^*mail.*$ Match address’s domain which included any character before & after mail. [email protected] or [email protected]
  3. mail*.com Match address’s domain which included any character after mail & before .com [email protected]
  4. ^mail.* Match address’s domain which included any character after mail. [email protected] or [email protected]
  5. ^*.mail.*$ Match address’s domain which included any character before & after .mail. [email protected]
  6. mail.com Match address’s domain which is mail.com [email protected]
Last Updated: 6/24/2022, 1:10:00 PM