Build, test, and debug regular expressions
This regex matches a date formatted as YYYY-MM-DD, optionally followed by a time in HH:MM or HH:MM:SS format. The date and time components must be separated by a whitespace character, an uppercase 'T', or a lowercase 't'. It is highly useful for extracting and validating ISO 8601-like date-time strings commonly found in system logs, application data, and API responses.