![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
19/06/2009, 17:36
|
![Avatar de abimaelrc](http://static.forosdelweb.com/customavatars/avatar304415_2.gif) | Colaborador | | Fecha de Ingreso: mayo-2009 Ubicación: En el planeta de Puerto Rico
Mensajes: 14.734
Antigüedad: 15 años, 8 meses Puntos: 1517 | |
Respuesta: Validar caracteres .*? en Ereg Trata asi
$s = "MMMM?awgashgia?mmm-*";
preg_match("|^(\w*[\?\.\#\-\_\=\*\,\!\@\-\_\[\]\^]*)*$|",$s,$m);
print_r($m); |