Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/09/2010, 16:46
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 6 meses
Puntos: 334
Respuesta: Detectar caracteres extraños ( ! , ? ) PHP

podrias usar preg_match_all y asi obtener todas las palabras
Código PHP:
Ver original
  1. preg_match_all('/([a-z]+)/i', $string, $matches);
  2. print_r($matches[1]);
__________________
More about me...
~ @rhyudek1
~ Github