configure help

Ilva Kapxhiu December 1, 2015

hello

i need to configure unique regex to accept 12 numbers. if i put less then 12 numbers it should automatically add '0' before the entered numbers.

1 answer

0 votes
Andrey Markelov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 18, 2016

Hi, Ilva Kapxhiu

 

Please, try ^[0-9]{12}. If I right understand your needs

Ilva Kapxhiu

Suggest an answer

Log in or Sign up to answer