$string = 'Justin Timberlake (One Direction)';
$string = str_replace('????', '',$string);
I want everything within ()
to be removed, include the bracket, is it possible with str_replace
? Sometime it could be like this ( fff)
. regex is harder to maintain so I avoid that.