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
-
On the
Regular expressions page, click
New.
The New regular expression dialog box is displayed.
-
Enter a
Name for the regular expression.
The name cannot be more than 50 characters.
-
In the
Expression field, enter the regular expression text.
The expression text cannot be more than 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.
-
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.
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
-
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 click .
-
Click the expression to modify.
The Edit regular expression dialog box is displayed.
- Make changes as needed.
- Save the expression.
Copy a regular expression
On the Regular expressions page, on the context menu of the regular expression to delete, click Delete.
On confirmation, the regular expression is deleted.
-
On the
Regular expression page, 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".
- Make changes, such as renaming the expression and changing the expression.
- Save the expression.
Delete a regular expression
On the Regular expression page, on the context menu of the regular expression to delete, click Delete.
On confirmation, the regular expression is deleted.