Regular expression validation

This validation method enables you to create pattern-based restrictions on extracted data. Define a regular expression, and 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, it is marked invalid and needs further processing.

  1. On the Home page, click Data > Folder Type Add Folder.
  2. Select the Folder Type for which to add a field validation rule, and click the Field Validation tab.
  3. Click Add Add for Validation Rules.

    The Validation Rule page appears with the configurations.

  4. Enter a Name for the field validation rule.
  5. Select the Type as Regular Expression. See Validation Methods for more information.
  6. Consume the format from the list of predefined formats or use the static Static to define a format.
  7. Enter a Description for the format.
  8. Enter the Error Message text to display if validation fails. By default, the following message is displayed: "Field item does not match any of the given expressions"
  9. Select Yes to Ignore Case during validation.
  10. Select Yes to Ignore Blanks during validation.
  11. In the Ignore Characters box, enter the characters to ignore for the selected format during validation.
  12. Select Yes for Allow Empty Field to allow blank fields during validation.
  13. To test the regular expression validation settings, enter sample text in the Test Input Text box and click Validate.

    A message appears below the Test Input Text box to inform if the rule is valid, and displays the reason if it is not.

  14. Click OK.