title: Replace all backslashes in a string with a pipe
body: <p>I have the string: \rnosapmdwq\salesforce\R3Q\OutputFiles\Archive</p>
  
  <p>I'm getting a unrecognized escape sequence when I try to send this to a .NET web service.</p>
  
  <p>I'm trying to replace all of the "\" with "|" to send it to the server.</p>
  
  <p>I know I can use the <strong>replace</strong> method but that only replaces the first element.  I think I need to use a regular expression to solve it.</p>
  
  <p>Here's what I have so far:</p>
  
  <pre><code>Path = Path.replace("\\/g", "|");
  </code></pre>
  
  <p>This is wrong though.</p>