Manage regular expressions
You can create, modify, copy, and delete a regular expression on the Regular expressions page.
To open the Regular expressions page, navigate to .
Create a regular expression
Create regular expressions to identify and normalize items in a document.
-
On the
Regular expressions page, select
New.
The New regular expression dialog box is displayed.
-
Enter a
Name for the regular expression.
The name cannot exceed 50 characters.
-
In the
Expression field, enter the regular expression text.
The expression text cannot exceed 500 characters.
-
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.
-
Select
Save.
The regular expression is added to the list on the Regular expressions page.
You can sort the regular expressions in alphabetical order by name and expression.
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.
Modify a regular expression
Modify a regular expression to change the regular expression text.
-
On the
Regular expressions page, 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 select .
-
Select the expression to modify.
The Edit regular expression dialog box is displayed.
- Make changes as needed.
- Save the expression.
Copy a regular expression
Copy a regular expression to reuse an existing pattern and make minor modifications without affecting the original.
-
On the
Regular expression page, on the context menu of the expression to copy,
select
Copy.
The New regular expression dialog box displays the copy of the expression prefixed with "CopyOf_<expressionname>1".
- Make changes, such as renaming the expression and changing the expression.
- Save the expression.
Delete a regular expression
Delete a regular expression when it is no longer required, is incorrect, or has been replaced by another validation or extraction method.
Make sure it is no longer referenced by any document types, locators, validation rules, processes, or other configurations that depend on it.
- On the Regular expression page, on the context menu of the regular expression to delete, select Delete.
-
When prompted, select Yes to confirm deletion.
The regular expression is deleted.