title: How to find commas not preceded or followed by another comma?
body: <p>I have a text file with thousands of lines like these:</p>
  
  <pre><code>8/15/2016,,Amazon,,15.93 ;most are like this
  8/24/2016,,Google,18.73  ;a few are like this - one comma only
  8/26/2016,,Ebay,,60.2    ;
  </code></pre>
  
  <p>Most of the lines have two commas followed by some text, followed by another two commas, followed by a numeric value. Just a few dozen of the lines are like the second line. They have only one comma before the numeric value.</p>
  
  <p>I'm trying to use Regex to find these few dozen lines. I'm not using a programming language, just Notepad++. My problem is that the regex I've come up with so far catches both. I've been experimenting at regex101.com</p>
  
  <p>I got something like this: <code>2016,,.+?,[0-9]</code></p>
  
  <p>I thought that would mean "Find 2016,, followed by any number of characters until you find a comma followed by a numeric digit," but it finds every line, whether it has one or two commas (or more, as I found out when I added some to see what happened).</p>
  
  <p>I read that regex searched "greedily," but I thought the question mark after <code>.+</code> made the search stop at the first occurrence.</p>
  
  <p>I even tried <code>2016,,.+?,{1}[0-9]</code> thinking the <code>{1}</code> would mean "just one," but no, that doesn't work either.</p>