<?php
$data = array (
'2016-11-02 14:30:00 Mary is a girl.',
'Hello 2016-11-14 14:30:00Mary.',
'Mark 2016-11-02 14:30:00is a boy ',
'Hello Mark'
);
$matches = array ();
foreach ($data as $str)
if (preg_match ('/(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})/i', $str, $m))
$matches[] = $m[0];
var_dump($matches);