Ver original$x = file_get_contents('pagina.html'); $a = explode('</title>', $x); $b = explode('<title>', $a[0]); echo $b[1];