Hola
lexus, fijate si esto te sirve:
Código ASP:
Ver original<%
function ereg(strOriginalString, strPattern, varIgnoreCase)
dim objRegExp : set objRegExp = new RegExp
with objRegExp
.Pattern = strPattern
.IgnoreCase = varIgnoreCase
.Global = True
end with
ereg = objRegExp.test(strOriginalString)
set objRegExp = nothing
end function
Response.Write(ereg("153 clara", "^[0-9]*[c|l|r|a|t|v|s|\s]*$", true))
%>
La funcion me la robé de algún sitio, pero no tengo a la mano la URL
Los argumentos son el string que tiene que hacer match, el patron y si quieres o no ignorar las mayúsculas.
Saludos