I have the following form code that allows input of a date using AngularUI (date is required and should match US date format e.g.: MM/DD/YY):
The accepted answer doesn't work for me. I changed to:
^(0?[1-9]|1[012])\/(0?[1-9]|[12][0-9]|3[01])\/((19\d{2})|([2-9]\d{3}))$
Otherwise only people born after 1990 need apply!