Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/08/2011, 14:48
Avatar de gasoft
gasoft
 
Fecha de Ingreso: abril-2009
Mensajes: 68
Antigüedad: 15 años, 10 meses
Puntos: 3
Respuesta: Expresión Regular Alfanumericos

Cita:
Iniciado por el_java_07 Ver Mensaje
Por curiosidad, que lenguaje es ese? :S

Código Javascript:
Ver original
  1. public boolean CDpEGGbLPPcPuS(String text) {
  2.         Pattern pc = Pattern.compile("^[-A-Z0-9 \\[ \\] : \\s+  _ \\{ \\}  \\(  \\) ; \\.  \\/ áéíóúÁÉÍÓÚ\u00f1\u00d1a-z]*$");
  3.         Matcher m = pc.matcher(text);
  4.         return m.matches();
  5.     }


La Expresion Regular la estoy utilizando desde JAVA