Exact Occurrences Operator {exact}

This command is optional.

Indicates the exact number of times that an expression must occur and must directly follow the expression quantified.

example

<FamilyName> = @RegEx("[A-Za-z]+"){3};

This command matches exactly three occurrences of a group of letters.

This command follows the form:

  • expression{exact} means that expression must occur exact times. The exact value must be a whole number.
  • The Exact operator must immediately follow the expression or group expression it is quantifying.

To use this command:

  1. Position the cursor where you want the command inserted.
  2. Double-click ({exact}) in the Commands list.
  3. Type a value for Exact.
  4. Click OK.