Regex ^\d{8}$ fails if first digit/digits are zero. Why?
Hey thanks for reading.
I've tried two reg expressions to find an 8 character numeric entry. Despite working on regexr, neither work in acrobat if the entry starts with 0.
^\d{8}$
or
Hey thanks for reading.
I've tried two reg expressions to find an 8 character numeric entry. Despite working on regexr, neither work in acrobat if the entry starts with 0.
^\d{8}$
or
My guess is you're using it on the value of a field, and you're accessing it with the value property. Is that correct?
If not, please post your full code, as this reg-exp shouldn't fail on a number that starts with a zero.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.