', '', $string); return $string; } function Rue89ExtractContent($url) { $html2 = file_get_html($url); //$text = $html2->find('div[class=text]', 0)->innertext; $text = $html2->find('div article', 0)->innertext; //$text = $html2->find('div.article', 0)->innertext; //$text = $html2->find('div[id=main]', 0)->innertext; //$text = $html2->find('div[id=article]', 0)->innertext; //$text = preg_replace('/(