title: Regular expression to split on commas not enclosed in parenthesis
body: <p>I have not been able to write a regular expression, to use in a String.split (Java) expression such as to only split on comma which are not in parentheses. </p>
  
  <p>Example:</p>
  
  <blockquote>
    <p>(54654,4565):(45651,65423),4565:45651,(4565,4564):45651</p>
  </blockquote>
  
  <p>Should yield the 3 strings:</p>
  
  <ol>
  <li>(54654,4565):(45651,65423)</li>
  <li>4565:45651</li>
  <li>(4565,4564):45651</li>
  </ol>
  
  <p>Any help much appreciated. </p>