title: JQuery remove backslash with some words in string
body: <p>my string is "\upload\document\file.txt", i want to remove the "\upload" part in that string with jQuery. I try this one but it does not work:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var filePath = "\upload\document\file.txt";
  filePath = filePath.replace('\upload', '');
  console.log(filePath);</code></pre>
  </div>
  </div>
  </p>