Manage regular expressions

You can create, modify, copy and delete regular expressions.

Create a regular expression

  1. Navigate to System data > Regular expressions.

    The Regular expressions page displays a list of predefined expressions.

  2. Click New.

    The New regular expression dialog box is displayed.

  3. Enter a Name for the regular expression.

    The name cannot be more than 50 characters.

  4. In the Expression field, enter the regular expression text.

    The expression text cannot be more than 500 characters.

  5. To test the validity of the regular expression, enter the expression in the Sample field.

    While entering the sample expression, the system indicates whether the expression is valid.

  6. Click Save.

    The regular expression is added to the list on the Regular expressions page.

    You can sort the regular expressions in alphabetical order on the name and expression.

    Note When you create a text field on a form, any new or updated expressions are automatically available for use in the Format property. See Properties of a text box for more information.

Maintain a regular expression

  1. Navigate to System data > Regular expressions.

    The list of regular expressions are displayed.

  2. To display the regular expressions within a specific category, select the category on the Category list.

    Alternatively, to display a specific regular expression, enter the name of the expression in the Search field and click .

  3. To modify a regular expressions
    1. On the list of regular expressions, click the expression to modify.
      The Edit regular expression dialog box is displayed.
    2. Make changes as needed.
    3. Save the expression.
  4. To copy a regular expression:
    1. On the context menu of the expression to copy, click Copy.
      The New regular expression dialog box displays the copy of the expression prefixed with CopyOf_<expressionname>1.
    2. Make changes, such as rename the expression and change the expression.
    3. Save the expression.
  5. On the context menu of the regular expression to delete, click Delete.
    On confirmation, the selected expression is deleted.