E
Edward
I need to validate a text box entry, but ONLY if it is 17 characters,
otherwise I have to ignore it. My regular expression for the
validation is:
^(([a-h,A-H,j-n,J-N,p-z,P-Z,0-9]{9})([a-h,A-H,j-n,J-N,p,P,r-t,R-T,v-z,V-Z,0-9])([a-h,A-H,j-n,J-N,p-z,P-Z,0-9])(\d{6}))$
Can I adapt this to "fire" only if the string in question is 17 chars
in length? Or do I have to do this server-side?
Thanks
Edward
otherwise I have to ignore it. My regular expression for the
validation is:
^(([a-h,A-H,j-n,J-N,p-z,P-Z,0-9]{9})([a-h,A-H,j-n,J-N,p,P,r-t,R-T,v-z,V-Z,0-9])([a-h,A-H,j-n,J-N,p-z,P-Z,0-9])(\d{6}))$
Can I adapt this to "fire" only if the string in question is 17 chars
in length? Or do I have to do this server-side?
Thanks
Edward