title: Replacing string in textfile with quotes and doublequotes with sed
body: <p>Lets say I want to replace the following string within a textfile:</p>
  
  <pre><code>document.write(unescape("%3Cscript src='" + \ + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  </code></pre>
  
  <p>I came up with this sed command, but surprisingly nothing happens at all.</p>
  
  <pre><code>sed -i "s/document.write(unescape(\"%3Cscript src=\"\' + \\ + \"google-analytics.com\/ga.js\' type=\'text\/javascript\'%3E%3C\/script%3E\"));//g" myfile.html
  </code></pre>
  
  <p>Whats wrong here?</p>