Answers for "regex date pattern yyyy-mm-dd javascript"

0

regex for yyyy-mm-dd

^d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$
Posted by: Guest on April-12-2021
0

regex expression dd/mm/yyyy javascript

/^(0?[1-9]|[12][0-9]|3[01])[/-](0?[1-9]|1[012])[/-]d{4}$/
Posted by: Guest on May-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language