| #

## How do I use operators with keywords?

To format keywords that use operators, refer to the following:
When typing a keyword or phrase that includes an operator, follow the format in the example below:
Example: `.WILD. valu*`

| ##### Note The operator has a dot immediately preceding and following. There is a space between the final dot and the keyword.

#### Using Operators with Keywords

Supported Keyword | How It Works | How To Use
--- | --- | ---
Any keywords | ScanMail searches content that matches the word | Type the word and add it to the keyword list
OR | ScanMail searches for any of the keywords separated by OR For example: apple OR orange. ScanMail searches for either apple or orange. If content contains either, then there is a match. | Type ".OR." between all the words you want to include For example: apple .OR. orange
AND | ScanMail searches for all of the keywords separated by AND For example: apple AND orange. ScanMail searches for both apple and orange. If content does not contain both, then there is no match. | Type ". AND." between all the words you want to include For example: apple .AND. orange
NOT | ScanMail excludes keywords following NOT from search. For example: .NOT. juice. ScanMail searches for content that does not contain "juice". If the message has "orange soda", there is a match, but if it contains "orange juice", there is no match. | Type ".NOT." before a word you want to exclude For example: ".NOT. juice"
WILD | WILD means wildcard. The wildcard symbol replaces a missing part of the word. Any words that are spelled using the remaining part of the wildcard are matched. For example, if you want to match all words containing "valu", type ".WILD. valu*". The words Valumart, valucash, and valubucks all match.
| ##### Note ScanMail does not support using "?" in the wildcard command ".WILD.".
| Type ".WILD." before the parts of the word you want to include
REG | To specify a regular expression, add a .REG. operator before that pattern (for example, .REG. a.*e). | Type ".REG." before the word pattern you want to detect. For example: ".REG. a.*e" matches: "ace", "ate", and "advance", but not "all", "any", nor "antivirus"