Ver Mensaje Individual
  #6 (permalink)  
Antiguo 17/03/2008, 17:26
gerazmv
 
Fecha de Ingreso: octubre-2004
Ubicación: Uruguay
Mensajes: 386
Antigüedad: 20 años, 3 meses
Puntos: 4
Re: Expresion regulares php

Busco algo asi.. pero no me funciona
$texto = 'dasdasdsd sd fsdfasd sd<a href="http://www.forosdelweb.com/f18/">Texto</a>asd sad asdasdasa';
$domino='http://www.forosdelweb.com';

preg_match_all('/<a[[\s]*.*]?\shref="(([$dominio*<\/a>/i', $texto, $res);