Function To Replace characters in a string in php

$search = strtr($search, array('(' => '', ')' => ''));