title: removing all special characters from string c#
body: <p>I am searching for solution for some time that removes all special charachers is replace with "-".</p>
  
  <p>Currently I am using replace() method.</p>
  
  <p>for example like this to remove tab from string</p>
  
  <pre><code>str.Replace("\t","-");
  </code></pre>
  
  <p>Special characters:!@#$%^&amp;*()}{|":?>&lt;[]\;'/.,~ and the rest</p>
  
  <p>All I want is English alphabets, numbers[0-9], and "-"</p>