<?php $test = "this is a test (asdfasdfasdf)"; $asdf = preg_replace("\s*\(.*\)\s*$", "", $test); var_dump($test);
You have javascript disabled. You will not be able to edit any code.