Artículo
Fecha: 2010-03-19 09:43:53
Validating a String using Regex in Java
Simpel example validating an alphanumeric string using Regex:
p = Pattern.compile("[0-9a-zA-Z]+");
m = p.matcher(companyId.trim());
result = m.find();
|
Buscador
Últimas entradas
Preseleccionar un option de un element select html con jQuery »
Testing for Empty elements in XSL »
Java Keytool Commands for Managing security certificates »
Execute servlet filter before calling Axis web service »
Set trustStore for SSL connection in Java »
Example of a client-wsdd.config »
Convert Axis Java Object to XML »