title: Simple and tested online regex containing regex delimiters does not work in C# code
body: <p>I have a regex like this:</p>
  
  <pre><code>name = dr-det-fb.ydp.eu/ebook/trunk/annotations/ctrl.php/api1751-4060-1193-0487
  name = Regex.Replace(name, @"/\W/g", "");
  </code></pre>
  
  <p>This regex should replace "/", "-", "." with "".
  But it doesn't, can someone explain me why?</p>