You must create your own regex. The creation of custom regex is outside the scope of Umbrella Support.
Custom regular expression patterns for DLP data classifications support basic Java syntax with some limitations.
- A regex can have a maximum of 1,000 characters.
- A custom identifier can have a maximum of 10 regex.
- A custom identifier can have a maximum of 100 entries.
- The minimum length of a regex pattern is 3.
- The maximum number of matches for a regex is 1000.
- Anchor Flags
^can not be used as an input start position.
$can not be used as an input end position.
- Back References
\ncannot be used to reference a previous capture group n.
The following must be used for these character definitions:
- Single quote—
- Double quote—
.+are not accepted.
()+are not accepted.
|alternations have a maximum of 20 per pattern.
The regular expression is wrapped in a word boundary to ensure it matches the entire word. Words are comprised of alphanumeric character (a-z, A-Z, 0-9) and the boundary cannot contain a word character on each side of the boundary.
When the regular expression is
cat, the sentence "The cat chased the mouse" will match, but "The catchased the mouse" will not match.
Updated about 1 month ago