hello guys how can i remove « and » from a string e.g This «is» a sentence.
the code below doesnt remove it:
$text = "This «is» a sentence";
$newString = preg_replace('/[^a-zA-Z0-9]/i', ' ', $text);
echo $newString
i get this as output
Thus �is� a sentence
Any help??