- Using Regular Expressions Write A Password Validation Function That Takes A File Passwords Txt Containing Comma Separ 1 (144.24 KiB) Viewed 62 times
Using regular expressions, write a password validation function that takes a file (passwords.txt) containing comma separ
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Using regular expressions, write a password validation function that takes a file (passwords.txt) containing comma separ
Using regular expressions, write a password validation function that takes a file (passwords.txt) containing comma separated passwords. You are required to validate whether each password is valid or not output back only the valid passwords to another file (valid.txt). Following are the criteria for checking the password: At least 2 letters between [a-z] At least 3 numbers between [0-9] At least 1 letter between [A-Z] At least 1 special regex character Minimum length of password 10 Passwords cannot include the underscore () or the backslash (\) characters