Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/11/2010, 13:07
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 6 meses
Puntos: 334
Respuesta: pasar ereg a preg_match

Código PHP:
Ver original
  1. if (preg_match('/^[\pL()_,.-]{2,100}$/', $mensaje)) {

también puedes revisar
http://www.php-hispano.net/archivos/...egulares1.html

saludos.
__________________
More about me...
~ @rhyudek1
~ Github