Match a simple YYYY-MM-DD date shape.
Section: Validation Recipes
ISO date shape
regex
regex
^\d{4}-\d{2}-\d{2}$Explanation
Shape validation only; calendar validity is a separate concern.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Validation Recipes