http://qs321.pair.com?node_id=674299


in reply to Pattern Match n00b

You could go splitting instead. Nested splits on ; and : could work. Or you could do it all in one statement with SuperSplit:

$array=supersplit(':',';',$mystring);

provided that the (semi)colons are true delimiters.

Cheers,
Jeroen

Couldn't resist the temptation after all those years ;-)