Test, validate and match regular expressions
This regex matches ISO 8601 date and datetime formats. It captures dates like YYYY-MM-DD or YYYYMMDD, optionally followed by time components (hours, minutes, seconds) with optional milliseconds and timezone indicators (Z or UTC offset). Useful for validating timestamp strings in APIs, logs, or data processing where ISO 8601 compliance is required.