title: regex - split only if a letter followed by comma + comma + ignore comma in bracket
body: <p>I am trying to figure out a way to split values based on a comma in regex but the problem is that I want to ignore commas that are inside the parenthesis ()</p>
  <p>example :</p>
  <pre><code>'hist1234,geog293,lap_933,(a-20,110,60),(z-8,9,10),POLY5,9,3,8,ro water'
  </code></pre>
  <p>expected output :</p>
  <pre><code>['hist1234', 'geog293', 'lap_933', '(a-20,110,60)', '(z-8,9,10)', 'POLY5,9,3,8', 'ro water']
  </code></pre>
  <p>I tried: ,\s*(?![^()]*)) for the comma and ignoring the comma in brackets but im unsure about the ignoring if its a number followed by a comma</p>