How do I form a regex to validate a range from 1 to 1000, where the number 001 is same as 1, 0245 is same as 245. Most solutions I saw allowed the range check but did not allow the number to start with 0. The problem is with not allowing 0,00,000, but allow the number to start with or without 0.How do I form a regex to validate a range from