PHP Hash Removal
How 开发者_运维知识库can I remove all hashes from a string with PHP?
I've tried str_replace("#","",$message)
, but it didn't work.
Remember that str_replace()
return replaced text.
Example:
$a = '### Foo ###';
$a = str_replace('#', '', $a);
echo $a;
DEMO
精彩评论