Test, validate and match regular expressions
Validates a date string in MM/DD/YY format with an optional time component in H:MM AM/PM format. The date portion matches months 0-12, days 0-31 with optional leading zeros, and a 2-digit year. The optional time portion matches hours 0-12, minutes 00-59, and an optional AM/PM indicator separated by spaces. Commonly used for form validation of US-style date-time inputs.