title: How to split strings using regular expressions
body: <p>I want to split a string into a list or array.</p>
  
  <p>Input: <code>green,"yellow,green",white,orange,"blue,black"</code></p>
  
  <p>The split character is the comma (<code>,</code>), but it must ignore commas inside quotes.</p>
  
  <p>The output should be:</p>
  
  <ul>
  <li>green</li>
  <li>yellow,green</li>
  <li>white</li>
  <li>orange</li>
  <li>blue,black</li>
  </ul>
  
  <p>Thanks.</p>