I suspect that this might be better:
$example = ereg_replace(" ?(.*)", "", $example);
which would match and remove if there's 1 space or no space before the opening parenthesis.
Then again you might use
$example = ereg_replace(" (.)", "", $example);
which should match and remove if there's 0 or more spaces before the opening parenthesis.