The Regular Expression (RegEx) custom field enables you to validate a text custom field against a regular expression.
This field is useful to check for verifying the following information for instancetype examples: Social Security Numbers, phone numbers, zip codes, currency, date formats, and so onmany others.
Configuring the PCF Regular Expression (RegEx) Custom Field
Add the PCF Regular Expression custom field.
Go to the Configure link for this field. You will see the a page like similar to the following example:
Click the Edit Regex link to configure the regular expression.
Image RemovedImage Added Click the Save button, and the regular expression will be associated to the current custom field.
Image RemovedImage Added
Using Testing the PCF Regular Expression (RegEx) Custom Field
Go to an issue and edit the field with a value that does not match the regex.
Image RemovedIf you try to save the changes, an error message appears. Otherwise, here are some usage examples for this type of custom field.
Image Removedwill appear:
Image AddedFor more regex examples use the search from RegExLib, search for your issue in the RegExLib site.