title: Regex for matching just the first occurrence of a comma in each line
body: <p>What does the regex look like for matching only the first instance of a comma, and nothing but that comma?</p>
  
  <p>I have tried things like <code>,{1}</code> and I think it has something to do with non-greedy qualifiers like this <code>,(.*?)</code>, but I have had no success.</p>
  
  <p>I'm using Notepad++ to try to convert code from another language to JavaScript.  I want to turn the first comma into a colon.  It looks like this:</p>
  
  <pre><code>'TJ', 'Tajikistan' ,
  'TZ', 'Tanzania' ,
  'TH', 'Thailand' ,
  'TL', 'Timor-Leste' ,
  'TG', 'Togo' ,
  'TK', 'Tokelau' ,
  'TO', 'Tongo' ,
  'TT', 'Trinidad and Tobago' ,
  </code></pre>
  
  <p>Find what: <code>/,/</code><br>
  Replace with: <code>:</code><br>
  0 occurrences were replaced</p>
  
  <p><img src="https://i.stack.imgur.com/yIigu.png" alt="Screnshot of Notepad++"></p>