title: Validate csv file with regular expression in Java
body: <p>File structure is as such:</p>
  
  <pre><code>"group","type","scope","name","attribute","value"
  "c","","Probes Count","Counter","value","35"
  "b","ProbeInformation","Probes Count","Gauge","value","0"
  </code></pre>
  
  <p>Always using quotes. There is a trailing newline as well.</p>
  
  <p>Here is what I have: </p>
  
  <pre><code>^(\"[^,\"]*\")(,(\"[^,\"]*\"))*(.(\"[^,\"]*\")(,(\"[^,\"]*\")))*.$
  </code></pre>
  
  <p>That is not matching correctly. I'm using String.matches(regexp);</p>