Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=PCF+-+Regular+Expression+Custom+Field+-+15481820
widthauto

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

custom field

(RegEx) Custom Field

  1. Add the PCF Regular Expression custom field.

  2. Go to the Configure link for this field. You will see

the
  1. a page

like
  1. similar to the following example:

Image Removed
  1. image-20240212-151325.pngImage Added

  2. Click the Edit Regex link to configure the regular expression.

Image Removed
  1. image-20240212-151530.pngImage Added
  2.  Click the Save button, and the regular expression will be associated to the current custom field.

Image Removed
  1. image-20240212-151556.pngImage Added
Using

Testing the PCF Regular Expression

custom field

(RegEx) Custom Field

  1. Go to an issue and edit the field with a value that does not match the regex.

Image Removed
  1. If you try to save the changes, an error message

appears. Otherwise, here are some usage examples for this type of custom field.
Image Removed
  1. will appear:

    image-20240212-151800.pngImage Added
  2. For more regex examples

use the search from RegExLib.

See also

Adding Power Custom Fields™ Custom Fields
  1. , search for your issue in the RegExLib site.

See More

Child pages (Children Display)
pagePower Custom Fields User Guide