title: Unrecognized escape sequence when try to replace empty string
body: <pre><code>string serverPath = Regex.Replace(mytext, "\Api", "", RegexOptions.IgnoreCase);
  
  mytext=D:\Trunck\Api\web\Resources\images\event-images\e1ae04a2-e63f-4831-a5ee-2f0d2713f8a2.png
  </code></pre>
  
  <p>How can I replace <code>\api</code> with empty string or I need a final <code>mytext</code> as <code>D:\Trunck\web\Resources\images\event-images\e1ae04a2-e63f-4831-a5ee-2f0d2713f8a2.png</code></p>
  
  <p>When I use above regex, it says <code>Unrecognized escape sequence</code>.Any help would be highly appreciated.</p>