Question: I have the regular expression as:

```
var validDate = /^\d{4}-((0\d)|(1[012]))-(([012]\d)|3[01]) (([0-1]?[0-9])|([2][0-3])):([0-5]?[0-9]):([0-5]?[0-9]).([0-9]?[0-9]?[0-9])$/i.test(value);

```

The value I am providing is `Nov 21, 2014 12:00:00 AM`.

Can anybody please help me in providing with the actual date expression (value) that will actually test the regex?

Answer: 
Why not use built-in `Date.parse`:

```
var epochVal = Date.parse("Nov 21, 2014 12:00:00 AM")
//=> 1416546000000

```

OR:

```
var dt = new Date( Date.parse("Nov 21, 2014 12:00:00 AM") )
//=> Fri Nov 21 2014 00:00:00 GMT-0500 (EST)

```
try this one `2014-02-13 23:00:59.0`