Answers for "regex 1-31 days"

0

regex 1-31 days

Regex for 0-31:

(0[1-9]|[12]\d|3[01])
Or if you don't want days with a preceding zero (e.g. 05):

([1-9]|[12]\d|3[01])
Posted by: Guest on September-08-2021

Browse Popular Code Answers by Language