js date format regex

 

 

 

 

hi: i have some code that uses regular expression to check a Dates format in javascript. The format i want is yyyy-MM-dd HH:mm.Using Patterns for Date String. Problem with a regex. A query about Patten in Java Regular Expression. check Date format.