im using this code
$output = preg_replace('/[^(\x20-\x7F)]*/','', $output);
my goal is to remove this character but the code removed all unwanted characters.
Please help me to remove that character.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I used this site to find the code for that character. Your code replaces all characters not in the range
\x20-\x7FI don’t know how to do it using that code, but if you just put the character in there, it works. Be careful though, if your text editor doesn’t support Unicode it might replace it with nothing so when you save the file, it won’t work.