I need split string by commas and spaces, but ignore the inside quotes, single quotes and parentheses
$str = \"Questions, \\\"Quote\\\",\'single quote\',\'co
This will work only for non-nested parentheses:
$regex = <<
The ++ and *+ will consume as much as they can and give nothing back for backtracking. This technique is described in perlre(1) as the most efficient way to do this kind of matching.
++
*+