Adding a regular expression

  1. Do one of the following to open the Regular Expressions dialog box:
    • Click Settings > Regular Expressions.
    • Press Alt+F7.
  2. Click the Add button.
  3. Select if you want to add a Normal or Advanced regular expression.
    A normal regular expression only has one pattern, whereas an advanced regular expression has a source and a target pattern.
  4. In the Description field, type a unique description for your regular expression.
  5. In the Pattern field, or in the Source pattern and Target pattern fields, type the actual regular expression.
    Use the Special button to insert the most commonly used characters and metacharacters.
  6. Indicate whether the expression has to be case sensitive.
  7. Indicate whether the expression has to search in tags.
  8. If necessary, select when a pattern match has to be reported in the Report if section.
  9. If necessary, select which errors have to be ignored in the Ignore errors of type section.
  10. Click OK.