title: Regex: Replace every Comma with Tab Not within quotes
body: <p>I have a huge data set of entries like these:</p>
  <pre class="lang-none prettyprint-override"><code>(21, 2, '23.5R25 ETADT', 'description, with a comma'),
  (22, 1, '26.5R25 ETADT', 'Description without a comma'),
  (23, 5, '20.5R20.5', 'Another description with ; semicolumn'),
  </code></pre>
  <p>I'm trying to replace every comma in the list with a tab. Excluding the commas within the single quotes. Also excluding the ending commas.</p>
  <p>So the examples entries should become:</p>
  <pre class="lang-none prettyprint-override"><code>(21[TAB]2[TAB]'23.5R25 ETADT'[TAB]'description, with a comma'),
  (22[TAB]1[TAB]'26.5R25 ETADT'[TAB]'Description without a comma'),
  (23[TAB]5[TAB]'20.5R20.5'[TAB]'Another description with ; semicolumn'),
  </code></pre>
  <p>I've got like 6000 rows of data like this. The tabs allow me to tell Excel to import the elements of these entries into different columns.</p>
  <p>The Regex I've tried was this: <code>[ ]*,[ ]*</code>
  But this Regex selects all the commas, even the ones within the single quotes.</p>