title: Regex to match a string with an even number of quotes
body: <p>I came up with: <code>([^"]*["][^"]*["][^"]*)*</code></p>
  
  <p>It works in all cases except against the empty string. I thought it would work because the last star matches the previous token <strong>zero</strong> or more times.</p>
  
  <p>Any ideas?</p>
  
  <p>Also if there's a much better way of doing this please let me know and explain it in detail.</p>
  
  <p><strong>The solution must be a regex as the place where it will be used is a hook which requires a regex.</strong></p>
  
  <p><strong>It has to match a string without quotes as well, as zero is an even number</strong></p>