Welcome to
Help Desk

Product Updates
Training
Support
Ideas Contact Support

Custom Classification Patterns

Aside from the built-in patterns in Egnyte Secure & Govern, you can also search for any of your own patterns, such as Employee ID, by creating a custom classification pattern with the option to use wildcards for a single or many characters. Custom patterns can be used in any custom classification policy.

Create a Custom Classification Pattern

To create a custom classification pattern, from the Egnyte Secure & Govern home page, click Settings, expand the Content Classification section and select Custom Keywords & Patterns. Then, click Add -> Custom Pattern. In addition to the pattern, you must specify a unique name for the pattern and an optional description. 

When using wildcards in custom pattern definition, a simplified version of regular expression wildcarding is available:

  • '*' = zero or more characters of any kind (space or non-space)
  • '?' = exactly 1 character of any kind (space or non-space)
  • ‘~’ = exactly one numeric character (0-9)
  • ‘^’ = exactly one letter character (not case-sensitive) (A-Z)

You can use combinations of wildcards to specify exact or minimum numbers of characters:

  • '???' = exactly 3 characters of any kind (space or non-space)
  • '??*' = 2 or more characters of any kind (space or non-space)
  • ‘?~~^^?’ = any character (space or no-space), any 2 numbers, any 2 letters, any character (space or non-space)
  • ‘~^~’ = pattern of exactly 1 number, 1 letter, one number (1A2)
  • ‘^^^’ = pattern of exactly 3 letters (ABC)

To configure your Custom Policy using the custom pattern, navigate to Settings -> Content Classification -> Policies -> Add Custom Policy and then select Custom Keywords and Patterns to access any patterns that have been created. You may also edit an existing custom classification policy to add a custom pattern as a criterion.

Examples

Here are some examples of inputs for custom patterns:

  • PATTERN 1000????
    • This pattern matches all the 8 character instances that start with '1000----' and have only 4 additional characters.
  • PATTERN 1000*
    • This pattern matches all the instances that start with '1000----' and have any number of additional characters.
  • PATTERN *1000?
    • This pattern matches all the instances that end with '----1000-' and have only one trailing character.
  • PATTERN ^^^1000
    • This pattern matches all the instances with 3 letters followed by 1000.
  • PATTERN ABC~~~~
    • This pattern matches all of the instances with ABC followed by 4 numbers.



Was this article helpful?
0 out of 0 found this helpful

For technical assistance, please contact us.