<?php $test = "5+2(23*5)(1-2)"; $regex = "/(\d|\))\(/"; preg_match_all($regex, $test, $match); var_dump($match);
You have javascript disabled. You will not be able to edit any code.