Posted By

sidneydekoning on 05/14/09


Tagged


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

Pingpongbal
quan
tspitzr


AS3 RegExp: Validate Date of Birth (Dutch / German notation)


 / Published in: ActionScript 3
 

  1. // Validates 26-10-1981, 26/10/1981 and 26.10.1981
  2. /(0[1-9]|1[012])[\/](0[12]|[1-9][0-9]|3[01])[\/](19|20)[0-9]{2}/

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: macKaminski on June 26, 2009

thanks. it also works for german notations. just telling it for people who are searching for it.

Posted By: sidneydekoning on November 3, 2009

Changed :)

You need to login to post a comment.