title: Regular expression for removing inner double quotes
body: <p>I have a String with outer double quotes <code>""</code>. There are inner double quotes that I need to remove. What is a regular expression for this?</p>
  
  <p>For example:</p>
  
  <blockquote>
    <p>input: "Hello there "I arrive" tonight" ---> output: "Hello there I
    arrive tonight"<br>
    input: "Hello there "I arrive tonight"" ---> output:
    "Hello there I arrive tonight"<br>
    input: ""Hello" there I arrive tonight"
    ---> output: "Hello there I arrive tonight"</p>
  </blockquote>
  
  <p>I tried the following code, but it doesn't work with my examples 2 and 3. It works for example 1.</p>
  
  <pre><code>data.replaceAll("\"(\\b[^\"]+)?\"\\b([^\"]+)\\b\"([^\"]+\\b)?\"","\"$1$2$3\"");
  </code></pre>
  
  <p>Background: I have a CSV file, which I need to parse. The data comes with inner quotes inside the outer quotes. For example:</p>
  
  <pre><code>"aa","bb","cc","dd "REMOVE QUOTES" "
  "aaa","bbb","ccc",""REMOVE QUOTES" ddd "
  </code></pre>
  
  <p>I would like the Regexp to remove the inner quotes only and keep the outer ones. Output:</p>
  
  <pre><code>"aa","bb","cc","dd REMOVE QUOTES "
  "aaa","bbb","ccc","REMOVE QUOTES ddd "
  </code></pre>