Regex for split() to split by , which is not in ()s?

From: Date: Tue, 17 Sep 2002 00:32:00 +0000
Subject: Regex for split() to split by , which is not in ()s?
Groups: php.general 
Request: Send a blank email to php-general+get-116579@lists.php.net to get a copy of this message
I'm looking for a regex which splits a string by commas, but only if the comma is not in parenthesis. I know I'm being lazy and should write it myself, but that's just it... I'm lazy!

« previous php.general (#116579) next »