Configuring policies / Data control policy |
For an overview of Content Control Lists, see About Content Control Lists.
You can create a Content Control List that consists of one or more regular expressions and a trigger score. To do this, use the advanced editor.
To create or edit a Content Control List using the advanced editor:
The new Content Control List appears in the Content Control List Management dialog box.
(?i)\b[a-ceghj-npr-tw-z][a-ceghj-npr-tw-z]\s?\d{2}\s?\d{2}\s?\d{2}\s?[abcd]?\b
This regular expression matches UK National Insurance numbers, for example, AA 11 11 11 A.
(?i) | Makes the match case-insensitive. |
\b | Matches a boundary between a word character and a non-word character. |
[a-ceghj-npr-tw-z] | Matches any single character in the range of characters (A to C E G H J to N P R to T W to Z). |
? | Matches the preceding element zero or one time. |
\s? | Matches zero or one whitespace. |
\d{2} | Matches two digits. |
[abcd] | Matches any single character from the list (A, B, C, or D). |
Now you can add the new Content Control List to a content rule.