Test, validate and match regular expressions
Matches date-like strings in DD-MM-YYYY format, where day is 00-31 and month is 01-12, using hyphens as separators. This regex is useful for quickly identifying potential dates in text, but it does not validate real calendar dates (e.g., 31-02-2020). With the g and m flags, it operates globally across multiple lines.