Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/01/2008, 20:17
Avatar de nes24
nes24
 
Fecha de Ingreso: julio-2005
Mensajes: 746
Antigüedad: 18 años, 9 meses
Puntos: 3
cual es la falla en la exreg

Cita:
Iniciado por hgp147 Ver Mensaje
Proba así:

Código PHP:
<?

$cont
="/web/index.php?id=vdoc&dc=79314jede5N=0000,";
if(
ereg("^/web/index.php\?id=vdoc&dc=79314jede5N=([0-9]{1,6}),$",$cont,$reg))
$numero=$reg[0];

?>
pERO COMO TAL CUAL ES LA FALLA, PRO QUE NO FUNCIONA LA EXPRESION REGULAR?