<?php $input = "input([[1,2,nc(2)],[1,2,nc(1)]])"; preg_match('@^(.+?)\((.+?)\)$@i', $input, $output); print_r($output);
You have javascript disabled. You will not be able to edit any code.