Regular expression

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hello,

what is the expression to check the date in the format

DD.MM.YYYY example 31.01.2006

thanks
 
Xavier,

(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d



--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
great, thanks
Xavier

S. Justin Gengo said:
Xavier,

(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d



--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
Xavier said:
hello,

what is the expression to check the date in the format

DD.MM.YYYY example 31.01.2006

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top