$("#txtRegUpdateDate").datepicker({ onSelect: function() { },
dateFormat: "mm/dd/yy",
changeMonth: true,
changeYear: true,
maxLength: 10,
regex: /^[0,1]?\d{1}\/(([0-2]?\d{1})|([3][0,1]{1}))\/(([1]{1}[9]{1}[9]{1}\d{1})|([2-9]{1}\d{3}))$/,
regexp: /^\d{1,2}\/\d{1,2}\/\d{4}$/
});