How can I put a multiple checks like password must contains at least two numbers, letters, one of these [!, @, $] etc | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can I put a multiple checks like password must contains at least two numbers, letters, one of these [!, @, $] etc

https://code.sololearn.com/cUrYgO9mT33v/?ref=app

17th Dec 2020, 1:36 PM
Mas'ud Saleh
Mas'ud Saleh - avatar
3 Answers
+ 1
Check this out: https://code.sololearn.com/cvvkUw9ACL2n/?ref=app It's a pretty basic version, so please don't expect anything more than what's barely necessary here. Also, the logic expression can be further simplified.
17th Dec 2020, 2:03 PM
Calvin Thomas
Calvin Thomas - avatar
0
Check the regex lesson , it will be a huge benefit if you solve it by yourself
17th Dec 2020, 1:47 PM
Med Amine Fh
Med Amine Fh - avatar
0
Pardon me for the typo error*
17th Dec 2020, 2:04 PM
Calvin Thomas
Calvin Thomas - avatar