tell me the best way to validate a digit range in handle validation in reactjs?

This would be how to do it in pure regex

^(?:[0-1]\d\d|2[0-4]\d|25[0-5])-(?:[0-1]\d\d|2[0-4]\d|25[0-5])-(?:[0-1]\d\d|2[0-4]\d|25[0-5])$

https://regex101.com/r/QzpxmF/1/

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top