Regular Expressions 101

Library entries

date validation

Vote

1

Regular Expression
javascript

/
^([12]\d)?(\d\d)[\.\/\-](0?[1-9]|1[012])[\.\/\-](0?[1-9]|[12]\d|3[01])\s([01]?[0-9]|2[0-3]):[0-5][0-9]$
/

Description

Loading markdown...
Submitted by axelprog - 7 years ago