title: Regex date format validation on Java
body: <p>I'm just wondering if there is a way (maybe with regex) to validate that an input on a Java desktop app is exactly a string formatted as: &quot;YYYY-MM-DD&quot;.</p>