If I'm trying to find the content within the brackets as follows using preg_match: Name (SubName) I've Tried: (([a-zA-Z]+)) Code (markup): but it doesn't seem to work?
Escape it ) -> \) and ( -> \( <?php $var = "Name (SubName)"; if(preg_match("#(\([a-zA-Z]+\))#", $var, $matches)) { print_r($matches); } ?> PHP: