0

How can I validate given three digit number is in range by using regex. I need to validate number from 000 to 200.

I tried

(1[0-9][0-9]|200)

this regex but it is not validating 000, 001, 002..099 . I need to validated exactly three digit number starting from 000 to 200

ppb
  • 1,659
  • 3
  • 30
  • 63

0 Answers0