Regular expression validation method

Use the Regular expression validation method to create pattern-based restrictions on extracted data. If the extracted data does not match the expression pattern, it is marked invalid.

For example, create a regular expression to test that an extracted account or customer number follows the expected pattern. If the extracted data does not match the pattern, the account number is marked invalid and needs further processing.

Augment the regular expression by including a dictionary. The words in the dictionary can be found within a composite expression, thus eliminating the need to add complex syntax to account for these words.

Configure a regular expression validation

  1. On the Type list, select Regular expression (default).
  2. Click and configure the following settings.


    Select a predefined format or click and define a format.


    A description for the format.

    Error message

    The text to display if validation fails. By default, the following message is displayed: Field item does not match any of the given expressions.

    Ignore case

    If selected, ignores cases. (Default: Clear)

    Ignore blanks

    If selected, ignores blank characters. (Default: Clear)

    Ignore characters

    Allows you to add the characters to ignore for the selected format during validation.

  3. Click Add.
  4. Configure the following Options:
    1. Select Allow empty fields to allow blank fields to be valid during validation. (Default: Clear, which means the empty fields are marked as invalid.)
    2. Select Rule makes uncertain extraction results valid to override the execution of validation rules when a field is not extracted confidently or is modified. (Default: Clear)
  5. To test the regular expression validation settings, enter sample text in the Test input text field and click Validate.
    A message appears to inform whether the rule is valid.
  6. Click Save.