ISO date
What this is
Regex can shape-check ISO dates. Leap days and month lengths belong in a date library. For full date-time with offsets, prefer the timestamp tool.
/\b\d{4}-\d{2}-\d{2}\b/gShipped 2026-08-20 20/08/2026 is not ISO.
FAQ
- YYYY-MM-DDTHH:mm:ssZ?
- Extend with T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?