What's the correct Validation Expression Syntax?

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

Dear Group

I'm having a password field which should contain at least one
character a-z AND at least one number 0-9. I can't figure the correct
syntax, have tried something like the one below and variations of it
with no luck. Any help is very much appreciated.

[A-Za-z{1,}]* AND [0-9{1,}]*

Thank you for your time & efforts!

Martin
 
Martin said:
Dear Group

I'm having a password field which should contain at least one
character a-z AND at least one number 0-9. I can't figure the correct
syntax, have tried something like the one below and variations of it
with no luck. Any help is very much appreciated.

[A-Za-z{1,}]* AND [0-9{1,}]*

Thank you for your time & efforts!

Martin

Something like this:

(.*[A-Za-z]+.*[0-9]+.*)|(.*[A-Za-z]+.*[0-9]+.*)
 

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