Enter text to be filtered/censored below :
(Note: current glitch is that newlines are not preserved)
replaced |" . trim($curse_word) . "| in |" . $string . "| ";
$string = str_replace(trim($curse_word),$stars,$string);
//echo " sorry |" . trim($curse_word) . "| is not found in |" . $string . "| ";
echo " The number of words currently filtered is " . $count . " ";
If you liked this please tell us about it here. Plans to
make it more accurate and more questions are based on user feedback.