Build, test, and debug regular expressions
Matches dates in ISO 8601 format (YYYY-MM-DD), such as 2024-01-15 or 1999-12-31. The pattern requires exactly 4 digits, a hyphen, 2 digits, another hyphen, and 2 final digits. With the global and multiline flags, it finds all date occurrences across every line, making it ideal for extracting dates from logs, CSV files, or documents. Note it validates structure only, not whether the date actually exists (e.g., 2024-13-45 would still match).