How can I remove all hashes from a string with PHP?
I've tried str_replace("#","",$message), but it didn't work.
str_replace("#","",$message)
Remember that str_replace() return replaced text.
str_replace()
Example:
$a = '### Foo ###'; $a = str_replace('#', '', $a); echo $a;
DEMO