Regular Expression for Date(dd/mm/yyyy format)

kalyanraj 0 Tallied Votes 502 Views Share

Regex to match the dd/mm/yyyy date format.

(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)[0-9]{2}
cool disel 0 Newbie Poster

thanx mate this also works with asp.net :)

progurammaar 0 Light Poster

no man this isnt good....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.