UK Date Format Regular Expression

N

Niclas

Hi,

Does anyone have a Regular expression that validates a date in the UK format
dd/MM/yyyy to share ?

Many thanks

Niclas
 
N

Niclas

Yes saw that one, but it includes time as well. I am only interested in the
date. Managed to rearrange a US format expression into UK, and think it is
working

Here it is if someone needs it:
(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d

Niclas
 

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

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,162
Latest member
GertrudeMa
Top