title: C# Regular expression for id card number?
body: <p>I want to construct a regular expression which is of the format "xxxxx-xxxxxxx-x" where x are all numbers...Help?</p>
  
  <p>EDIT:</p>
  
  <p>I have this so far:</p>
  
  <pre><code>string pattern = @"\d{5}[-]"
  </code></pre>