<?php var_dump(preg_match('~^\d{4}-\d{2}-\d{2}$~', '2013-02-28'));
You have javascript disabled. You will not be able to edit any code.