Page 1 of 1

Using regular expressions, write a password validation function that takes a file (passwords.txt) containing comma separ

Posted: Sun Jul 10, 2022 11:31 am
by answerhappygod
Using Regular Expressions Write A Password Validation Function That Takes A File Passwords Txt Containing Comma Separ 1
Using Regular Expressions Write A Password Validation Function That Takes A File Passwords Txt Containing Comma Separ 1 (144.24 KiB) Viewed 63 times
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