title: How to find a String not surrounded by pipes in a pipe delimited file?
body: <p>I am trying to find a regex that will match any pair of double quotes, that does not have exactly one pipe in front of it, and one pipe after it.</p>
  
  <p>Here is the example line:</p>
  
  <pre><code>1||1|0|0|1|0|""|0|0|||""|""Billy""|"Johnson"|
  </code></pre>
  
  <p>In this line I would want to match the pairs of double quotes in front of and behind the word <code>Billy</code>.</p>
  
  <p>The regex I tried is:</p>
  
  <pre><code>[^|]""[^|]
  </code></pre>
  
  <p>Which seems straightforward enough, but fails to match how I would think.</p>
  
  <p>Is there a regex that will match those?</p>
  
  <p>(Specifically I will be trying to replace those quotes in Java using <code>String.replaceAll()</code>, but a general regex solution would be fine at getting me started in the right direction.)</p>