Ver Mensaje Individual
  #1 (permalink)  
Antiguo 19/08/2011, 15:33
Avatar de diegovazgonz
diegovazgonz
 
Fecha de Ingreso: octubre-2010
Ubicación: Ourense
Mensajes: 184
Antigüedad: 13 años, 6 meses
Puntos: 11
Expresion regular

Tengo un poblema con las expresiones regulares
La web (c1)
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Funciones PCRE</title>
  5. </head>
  6.  
  7. </body>
  8. </html>
lo que me interesa (c2)
Código HTML:
Ver original
  1. <title>Funciones PCRE</title>

Tengo una variable con la el contenido html de una web (c1) y lo que me importa es la parta (c2)

Con esto intento sacar el titulo de la web, osea que en otra variable tenga el texto
Funciones PCRE
__________________
El mejor vino Ribeiro http://www.pedeperdiz.com