I have an example string of "welcome to my home page (23) | Ayman". I need to remove (23)
from this string. Note, that 23
is used only as example and can have any value in this place.
I tried this code:
$str = preg_replace("\(d)/", " ", $str);
But, it is not working as expected.