title: Split commas on string with regular expression in JavaScript
body: <p>I'm beginner at regular expression. I need your advice on it.</p>
  
  <p>I want to split a string by commas which are outside a couple of single quote with regular expression.</p>
  
  <p>Regex pattern: <code>,(?=([^']*'[^']*')*[^']*$)</code> </p>
  
  <p>String input: <code>"'2017-10-16 10:44:43.0000000', 'Abc,'', de', '0', None"</code></p>
  
  <p>Expected output: <code>["'2017-10-16 10:44:43.0000000'", " 'Abc,'', de'", " '0'", " None"]</code> there is an array with 4 elements.</p>
  
  <p>Currently, I'm using split method with regex and It's working well on JAVA.
  Now I have to handle it by JavaScript but I have got an unexpected result!</p>
  
  <p>Could you please give me an advice?</p>
  
  <p>Thanks for your help!</p>