ORF supports two ways to define email address masks: wildcard expressions and regular expressions. This help section describes the usage of wildcard expressions.
Wildcards allow you to define simple email address masks easily, without learning the relatively complex regular expression syntax. Wildcards are special characters which match any characters, for a specified number of times (the latter criteria depends on the wildcard). ORF supports two wildcard characters:
Wildcard | Meaning | Example |
---|---|---|
* | Matches zero or more arbitrary characters. | *@example.org |
? | Matches zero or one arbitrary character. | [email protected] |
Expression | Matches | Does not match |
---|---|---|
*@example.org | [email protected], [email protected] | [email protected], [email protected] |
jo*@example.org | [email protected], [email protected], [email protected] | [email protected], [email protected] |
joe@*.com | [email protected], [email protected] | [email protected] |
ac*@*.com | [email protected], [email protected] | [email protected] |
[email protected] | [email protected], [email protected], [email protected] | [email protected] |
Regular expressions allow defining more complex matching criteria, though this comes with a price of a bit more complicated syntax. See the Regular Expressions in ORF help topic for more information about regular expressions.