Currently when I echo
a string I have saved it looks like this:
• 94% positive ·
What I want to have instead is simply:
94
I thought that the following would do the trick:
preg_replace("/[^0-9]/","", $string)
But for some reason (I am assuming the bullet point) doing so instead gives me this:
94018332
Any help to get just the "94"?