<?php $s = '"some t3xt../s8fo=123,sij(variable1=123,variable2=743,variable3=535)"'; if (preg_match_all('~(?:\G(?!\A),|\()\K[^,]+(?=[^()]*\))~', $s, $matches)) { print_r($matches[0]); }
You have javascript disabled. You will not be able to edit any code.