title: Remove double quotes from string
body: <p>I'm trying to grab data from a MySQL database and use Ruby to reformat it into a flat text file. Some of my MySQL data contains double quotes like so:</p>
  
  <blockquote>
    <p><code>Matthew "Matt" Perry</code></p>
  </blockquote>
  
  <p>and I need to remove those quotes and replace them with something else, | for instance.</p>
  
  <p>I found another post on stackoverflow about removing quotes that suggested the following:</p>
  
  <pre><code>s.scan(/'(.+?)'|"(.+?)"|([^ ]+)/).flatten.compact
  </code></pre>
  
  <p>but that returns the string intact (with double quotes). How can I get</p>
  
  <blockquote>
    <p><code>Matthew |Matt| Perry</code></p>
  </blockquote>
  
  <p>instead?</p>