Skip to main content
Nintex Community Menu Bar

Regular Expression Help

  • April 7, 2021
  • 2 replies
  • 9 views

Forum|alt.badge.img+2

Good Day All,

 

I need to control a "Single Line Text" to allow only 2 patterns.

To allow a user to only fill in a 3 digit number: eg. 001

or to in pattern. eg. "001-APP-01".

 

The numbers can be anything and the letters must be "APP" with the "-" between the letters and numbers.

 

I am new to regular expression so any help would be appreciated.

 

Regards

2 replies

Forum|alt.badge.img+8
  • April 7, 2021

hey,

 

this should be it: ^ddd[-]APP[-]dd|ddd$

 

17289iFC4B3C031B22AFCC.png

 


Forum|alt.badge.img+2
  • Author
  • Rookie
  • April 14, 2021
Thanks for this. Worked perfectly.