 <p>Data validation in javascript is always complicate, and with regular expression is hard to take care about differnt months lenght, leap years and cultures. </p> <p>You could make all simplier by introducing <a href="http://momentjs.com/" rel="nofollow">moment.js</a>. With this tiny library you can validate date without worry abot dates, months length, leap years.</p>