<?php $str = "(hello(world)) program"; preg_match_all('/[(]+[A-Z]+[)]/i', $str, $matches); print_r($matches);
You have javascript disabled. You will not be able to edit any code.