title: Regex pattern for date format dd.MM.yyyy
body: <p>Is there any regex pattern storage where I can find patterns like dd.MM.yyyy or maybe you can help me with that?</p>
  
  <p>I'm using data validation with data annotations:</p>
  
  <pre><code>[RegularExpression(@"pattern", ErrorMessage = "incorrect date format")]
  public string MyDate { get; set; }
  </code></pre>