I have a variable which contains this data :
This is the company’s profile info, Please see this. “This is special announcement,” I have this texts.
Now I want to remove the special characters from this variable. I want to remove ’ “ and some other non-standard characters.
I have tried this :
$text = str_replace( '’', "'" , $text ); $text = str_replace( '“', '"' , $text );
But still this is not working. Is there any builtin php function that can do this?
Help me on this.