function antirekl($text){ $text=preg_replace('/(ru)/i',"***",$text); $text=preg_replace('/(su)/i',"***",$text); $text=preg_replace('/(us)/i',"***",$text); $text=preg_replace('/(net)/i',"***",$text); $text=preg_replace('/(org)/i',"***",$text); $text=preg_replace('/(mobi)/i',"***",$text); $text=preg_replace('/(cn)/i',"***",$text); $text=preg_replace('/(in)/i',"***",$text); $text=preg_replace('/(kz)/i',"***",$text); $text=preg_replace('/(wen)/i',"***",$text); $text=preg_replace('/(wml)/i',"***",$text); $text=preg_replace('/(kmx)/i',"***",$text); $text=preg_replace('/(h2m)/i',"***",$text); $text=preg_replace('/(http)/i',"***",$text); $text=preg_replace('/(wab)/i',"***",$text); $text=preg_replace('/(cc)/i',"***",$text); $text=preg_replace('/(wap)/i',"***",$text); $text=preg_replace('/(mn)/i',"***",$text); $text=preg_replace('/(com)/i',"***",$text); return $text;} $text=antirekl($text);