MattJenneson
Programmer
Hey Guys, not sure if this is the right forum, but here goes...
I'm new to regex patterns, I'm using a simple one to validate a date. dd/mm/yyyy.
/^[\d]{2}\/[\d]{2}\/[\d]{4}$/
Can someone help me figure out how to limit the day portion to 01 - 31 and the month portion to 01 - 12. I have also provided a date picker, but would be nice if i could stop people keying 33/13/2008.
Any help gratefully appreciated, or links to online resources.
Thanks
Matt
I'm new to regex patterns, I'm using a simple one to validate a date. dd/mm/yyyy.
/^[\d]{2}\/[\d]{2}\/[\d]{4}$/
Can someone help me figure out how to limit the day portion to 01 - 31 and the month portion to 01 - 12. I have also provided a date picker, but would be nice if i could stop people keying 33/13/2008.
Any help gratefully appreciated, or links to online resources.
Thanks
Matt