Build, test, and debug regular expressions
This regex matches dates in the DD-MM-YYYY format, where day is 01-31, month is 01-12, and year is exactly 4 digits. It ensures day and month digits are within valid numeric ranges but does not validate real calendar dates (e.g., 31-02-2023). Commonly used for extracting or validating date strings in logs, documents, or user input where format consistency is needed.