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]+.*)
 
Back
Top