Content Examination Policies: Using Regular Expressions

Document created by user.Yo2IBgvWqr Employee on Sep 18, 2017Last modified by user.Yo2IBgvWqr Employee on Oct 6, 2017
Version 5Show Document
  • View in full screen mode

A regular expression (regex or regexp) is a sequence of characters, that can be used to search for text strings or combinations of the regex within larger text. Multiple Regular Expressions can be added to a Content Examination definition, used to search for matching text within scanned mail. If we detect the regex in a message, the action specified in the definition is taken.

 

Adding a Regular Expression to a Definition

 

To add a regular expression to a definition:

  1. Log on to the Administration Console.
  2. Click on the Administration menu item. A menu drop down is displayed.
  3. Click on the Gateway | Policies menu item.
  4. Hover over the Definitions button. A list of the definition types is displayed.
  5. Click on the Content Examinations definition type from the list. The list of definitions is displayed.
  6. Either click on the:
    • Definition to be changed.
    • New Content Definition button.
  7. Click on the Insert button. 
  8. Click on the Regular Expression menu item.
  9. Complete the Policy Definition dialog as follows:
    Field / OptionDescription
    Line ScoreSpecify a regular expression value, that is compared to the "Activation Score" in the definition.
    AppendIf selected, the reference dictionary is placed at the bottom of the "Word / Phrase Match List". If unselected, it is placed at the top of the list.
    Regular ExpressionAdd the Regular Expression. The Mimecast Support team can help building regular expressions if required.
    CommentAdd any notes that refer to the regular expression. These are only displayed in the "Word / Phrase Match List" field prefixed by a hash symbol (#). All comments are ignored when examining messages for matches.
  10. Click on the Save and Exit button.
  11. Repeat steps 7 - 10 to add any additional regular expressions to the definition.

 

See Also...

 

Attachments

    Outcomes