PHPで正規表現で日付部分抽出

preg_match_all("/\d{4}.\d{2}.\d{2}/", $tmp_data, $array_result);

echo $array_result[0][0];