public static function censor($strString, $varWords, $strReplace = '')
{
foreach ((array) $varWords as $strWord) {
$strString = preg_replace('/\\b(' . str_replace('\\*', '\\w*?', preg_quote($strWord, '/')) . ')\\b/i', $strReplace, $strString);
}
return $strString;
}