Reg exp question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,
I'm trying to validate a number field that has to be exactly six digits and
cannot start with a zero:
"^[1-9][0-9][0-9][0-9][0-9][0-9]$"
Is there any other way to do this?
Thanks,
Roy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top