Date time validation regex in node js

Need to validate the date time in node.js in 2015-03-18 01:00:00(year-month-day H:m:s) format. Anyone please help me,please don't give reference link, I have already tried it just need regular expression which validate it.

You can try using [0-9]{4}\-(?:0[1-9]|1[0-2])\-(?:0[1-9]|[1-2][0-9]|3[0-1])\s+(?:2[0-3]|[0-1][0-9]):[0-5][0-9]:[0-5][0-9] regex.

Here is a demonstration on regex101.