How do I validate Time with Regex in Reactjs?

Asked

Viewed 8 times

-1

Basically I want to do a validation using regex... const regexTime = /([01][0-9]|2[0-3]):[0-5][0-9]/

...to validate a field when some information is entered

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.