I am trying to solve password validator problem for that I want to take minimum two special symbols as input from user.
10/26/2020 6:14:25 AM
Vaibhav Kale8 Answers
New AnswerI think I got it. By using this '{2, }' I can add minimum requirements of 2 for special symbols. If something is wrong, correct me Thank you 🙌🙌
Do the input symbols have to make up a particular complex pattern? If so, regex would probably be the way. However, if only their number is relevant, I would first try to make it work without regex.
Frogged I want to use minimum requirement for only special symbols not for other characters, integers.
Vaibhav Kale it is correct if it works. For next post: maybe an example will bring light into what u finally want. Anyway..nice question..
Frogged OK I will remember it. I just want hint for that problem , after sometime I updated that question also. But still I know it is incomplete.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message