<?php preg_match('/^((0[0-9])|(1\d)|(2\d)|(3[0-1]))\/((0[0-9])|(1[0-2]))\/(\d{4})$/', '12/03/2014', $matches); echo '<pre>'.print_r($matches, true).'</pre>';
You have javascript disabled. You will not be able to edit any code.