<?php $pattern="/^20[12345][34567890]-\d{2}-\d{2}$/"; if(preg_match($pattern,"1913-09-10")) { echo "in"; } ?>
You have javascript disabled. You will not be able to edit any code.