Hello,

I need to validate password fields. I got this list of requirements what a password can be, among them: it has to contain numbers.

How can I validate if the password contains numbers or not.

I thought the built in numbers() method would do it for me. but it seems it requires the string to be all numbers. I thought the digit() would require all characters to be numbers and the numbers() would check if the string has numbers.

Thanks for help,
Luke

Reply via email to