I use syntax regex(.,’^[0-9]{11}$’) in the “constraint” column to limit at 11 digits.
But I want to limit the number within 11 digits, that means the number can be less than 11 digits and no more than 11 digit.
Please help me about the regex funtion.
Thanks.
Hi @Suman ,
Welcome back to the community! You could do it by using this regex code:
regex(.,’^[0-9]{1,11}$’)
Feel free to have a look at our support article Restricting text responses with regular expressions . It has a lot of practical examples that should help you with your work!
Have a great day!
2 Likes
Thank You so much @Kal_Lam. It’s working.
1 Like