79792622

Date: 2025-10-16 22:53:06
Score: 1
Natty:
Report link

The best one to use for client-side validation to ensure correct input would be the regex below
It allows the following: 120, 1230, 102, 1023, 012, 0123, and disallows the following: 000 and 0000. youre welcome

^(?!000$)\d{3,4}$"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Travis Eweka