O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
If you want to validate dates in the traditional formats mm/dd/yy,
mm/dd/yyyy, dd/mm/yy, and
dd/mm/yyyy, using a simple regex that simply checks whether
the input looks ...