smaller date regex

Posted by Jeremy on Stack Overflow See other posts from Stack Overflow or by Jeremy
Published on 2010-05-27T20:19:32Z Indexed on 2010/05/27 20:21 UTC
Read the original article Hit count: 244

Filed under:

I have a regex used to validate dates:


Works really well, but I am using it all over the place with regex validators and I want to minimize it so I can reduce page size. It works with dd/mm/yyyy format and handles leap years. I'm looking for a more concise regex statement.

© Stack Overflow or respective owner

Related posts about regex

Related posts about date