title: Regex ignore the delimiter in parentheses
body: <p>Good morning,
  I need a little of your help.
  I need to split the text using REGEX, but to omit the content in parentheses</p>
  
  <p><code>preg_match_all('/\((?:[^()]|(?R))+\)|\'[^\']*\'|[^(),]+/', $input_lines, $output_array);</code></p>
  
  <p>I have this string:
  <code>Test A, Test B, Test C (data1, data1)</code></p>
  
  <p>And pregmatch we do this:</p>
  
  <pre><code>0   =&gt;  Test A
  1   =&gt;   Test B
  2   =&gt;   Test C 
  3   =&gt;  (data1, data1)
  </code></pre>
  
  <p>How do I achieve this result?</p>
  
  <pre><code>0   =&gt;  Test A
  1   =&gt;  Test B
  2   =&gt;  Test C (data1, data1)
  </code></pre>
  
  <p>I need to ignore the content in parentheses and separate only the rest.</p>
  
  <p>Thank you in advance for any help.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>This aventually resolved my situation. I tried to use preg split.</p>
  
  <p><code>preg_split('/,(?![^(]*\)) /', $input_line);</code></p>