Hello
I have a text entry question for respondents to insert their PIN. PINs are 10 characters long: 9 numerical digits and end with a letter. They always start with '00', so they would look like this: 001234567A
I have selected a custom validation for which I want the entered text to match a regex statment but I am not familiar with regex sintax and would appreciate any help.
Thank you!
Page 1 / 1
Hi - is the letter at the end case-insensitive? If it is then use the following:
`^00[0-9]{7}[A-Za-z]$`
If the letter has to be uppercase then it would just be:
`^00[0-9]{7}[A-Z]$`
`^00[0-9]{7}[A-Za-z]$`
If the letter has to be uppercase then it would just be:
`^00[0-9]{7}[A-Z]$`
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.