...
The 'Regular Expression Check' validator compares the value of a text, number or url's field against a regular expression. For example to verify that the content matches a given format.
...
Configuration
You must select the fieldĀ field to validate be checked and enter the regular expression. For example:
...
For information on how to configure a validator check in JIRA, see the JIRA documentation.
...
A workflow is configured so that the 'Resolve' transition has the 'Regular Expression Check' validator where 'TextField' has to match '[a-z]*'. If a user attempts to resolve an issue on this workflow, where the 'TextField' is for example '7 pieces', the validation check will fail, and the transition will not be completed. However 'pieces' as content would be allowed.
...