title: Regex.Replace and static context?
body: <p>I have this code here:</p>
  
  <pre><code>private Func&lt;string, string&gt; RemoveSpecialChars = str =&gt; Regex.Replace(str, "[ ./\\-]");
  </code></pre>
  
  <p>Its complaining (<em>Can not access non-static method Replace in static context</em>) about the call to Replace, because of static context. Whats wrong?</p>
  
  <p>Thanks :)</p>