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


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  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

You need to login to post a comment.