title: How do I replace single quotes with another character in sed?
body: <p>I have a flat file where I have multiple occurrences of strings that contains single quote, e.g. <code>hari's</code> and <code>leader's</code>.</p>
  
  <p>I want to replace all occurrences of the single quote with space, i.e. </p>
  
  <ul>
  <li>all occurences of <code>hari's</code> to <code>hari s</code></li>
  <li>all occurences of <code>leader's</code> to <code>leader s</code></li>
  </ul>
  
  <p>I tried</p>
  
  <pre><code>sed -e 's/"'"/ /g' myfile.txt
  </code></pre>
  
  <p>and</p>
  
  <pre><code>sed -e 's/"'"/" "/g' myfile.txt
  </code></pre>
  
  <p>but they are not giving me the expected result.</p>