title: Keep one special character using regex in c#
body: <p>I have a string but i need to keep the "-" and remove everything else </p>
  
  <pre><code>string my_String = Regex.Replace(text, @"[^0-9a-zA-Z\._]", "");
  </code></pre>
  
  <p>any help?</p>