Build, test, and debug regular expressions
Matches dates in YYYY-MM-DD, YYYY/MM/DD, or YYYY.MM.DD format (e.g., 2021-12-09). Validates years from 1900-2099, months with leading zeros (01-12), and days with leading zeros (01-31). Uses a named capture group 'date' and supports global/multiline matching.