Hi,
I have a Single Line string custom filed on a logging form, and would like to add a Validation Expression that stops a user entering 000000 or 123456.
I’m able to write an expression that allows only 000000, but not able to write an expression that doesn’t allow that combination of numbers.
Has anyone had any luck writing this kind of validation expression?
Thanks in advance
Page 1 / 1
It might not be the most elegant solution but try this to stop the common junk inputs….add combinations as needed.
\d{6}(?<!000000|111111|222222|333333|444444|555555|666666|777777|888888|999999|123456)
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.