Ciao a tutti... Leggendo i vari post sulle R.E. ho trovato sto link: http:www.Regxlib.com da dove ho tirato fuori la R.E. che mi sembrava più adatta alle mie esigenze. Unico neo è che qualcosa non va (forse il mio cervello!)
Questo è il mio codice, ma mi ritorna sempre False... dove Sbaglio?codice:<% str="vvvv" Function Normal(stringaInput) Dim RegEx Set RegEx = New RegExp RegEx.Pattern = "(?!^[0-9]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9]{6,15})$" RegEx.Global = True RegEx.IgnoreCase = True Normal = RegEx.Test(stringaInput) End Function response.write Normal(str) %>
Ciao e Grazie