Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/06/2009, 17:36
Avatar de abimaelrc
abimaelrc
Colaborador
 
Fecha de Ingreso: mayo-2009
Ubicación: En el planeta de Puerto Rico
Mensajes: 14.734
Antigüedad: 15 años
Puntos: 1517
Respuesta: Validar caracteres .*? en Ereg

Trata asi

$s = "MMMM?awgashgia?mmm-*";
preg_match("|^(\w*[\?\.\#\-\_\=\*\,\!\@\-\_\[\]\^]*)*$|",$s,$m);
print_r($m);