Test, validate and match regular expressions
Validates dates in YYYY-MM-DD format for years 1900–2199, enforcing month/day consistency: day 31 is allowed only for 31-day months (01,03,05,07,08,10,12), day 30 for all months except February, and days 01–29 for any month. It does not handle leap years, so 02-29 always matches. Useful for basic date validation in forms and logs.