DateTime > Date MMDDYYY Favorite

Source: https://www.debuggex.com/r/0VozGgonUI65kE__

Matches a valid date, in either MM/DD/YYYY or MM-DD-YYYY format.

Sample Matches
Text Result
01-02-03
Group #0
01-02-03
Group #1
-
match
01-02-2003
Group #0
01-02-2003
Group #1
-
match
02-28-2000
Group #0
02-28-2000
Group #3
-
match
1-2-00
Group #0
1-2-00
Group #1
-
match
1-2-2000
Group #0
1-2-2000
Group #1
-
match
02-29-2000 (THIS IS A BUG!)no match
11-31-2015no match
12-32-2015no match
13-01-2015no match