Così sembra funzionare
Codice PHP:
$result preg_match_all("/[0-9]{4}\-[0-9]{1,2}\-[0-9]{1,2}\b/"$page$matches);