I have string like below,
$string = "test coontevt first second";
i need to remove the string starts with .
i already use this one,
$string12 = preg_replace('/)/i', '', $string);
but i get empty string only.
Finally i want result for the above string is,
$string ="test coontevt first second".
How can i do this using regular expression?.
plz help me?
The character
[is a regex meta-character. TO match a literal[you need to escape it.or