(.*)<\/title>/i',$page,$ar)) $title = $ar[1]; if (preg_match('/ExtractString($page,'ExtractString($page,'trim($title), 'description'=>trim($description), 'keywords'=>trim($keywords), ); //print_r($res); return $res; } // _parseTags function getText($text) { //extracting text only between $text = str_replace('','',$text); $text = '<'.ltrim($this->ExtractString($text,'')); $text = preg_replace('//','> ',$text); $text = preg_replace("/(\)/si", " ", "$text"); //erasing scripts $text = preg_replace("/(\)/si", " ", "$text"); //erasing links $text = preg_replace("/(\<)(.*?)(>)/si", " ", "$text"); //erasing scripts $text = strip_tags($text); $text = str_replace("