I am trying to catch bullet points which was given in textfield and trying to replace it with something else, because it is being shown as ?
instead of • after rendering the given text to the user. I tested like this: I wrote text with bullet points in word and copy-pasted into textfield.
My vision is this:
$test = strstr($input,'•');
if($test){ echo "bullet point found!";
}
but it is not working or not catching, or •
is the wrong regexp to catch the bullet points.