kathryn
04-17-2003, 03:43 PM
Hi,
I am trying to do some error checking on text fields on a html form
I need the check to be
digit 1 must be alpha
digit 2 alpha or numeric
and digit 3-8 numeric
I am using a sililar one like
var re = /^\w.\d{6}$/
which does alpha or numeric for 1-2
the numeric for 3-8
but i don't know how to adapt it for the check I described above??
Thanks, Kathryn
I am trying to do some error checking on text fields on a html form
I need the check to be
digit 1 must be alpha
digit 2 alpha or numeric
and digit 3-8 numeric
I am using a sililar one like
var re = /^\w.\d{6}$/
which does alpha or numeric for 1-2
the numeric for 3-8
but i don't know how to adapt it for the check I described above??
Thanks, Kathryn