0

I am trying to remove the weak passwords policy from my database using notepad Formula is USERNAME:PASSWORD I would like to make that it only leave lines which their password is strong and using all my policy.

1-  password must be 7 to 32 characters long
2- The password must contain a mix of letters, numbers, and/or special characters
3- also passwords containing only letters or only numbers are not accepted 
4- Must have atleast one capital letter

ex if my list have

username:Sf2521A
username:user
username:2525252
userS25:fafaa
use:T52L!a

it removes all lines, only leaving those

username:Sf2521A
use:T52L!a

because it's password is following my policy standards

Glal Dehk
  • 1
  • 1
  • Looks like you are looking to create a regex, but do not know where to get started. Please check [Reference - What does this regex mean](https://stackoverflow.com/questions/22937618) resource, it has plenty of hints. Also, refer to [Learning Regular Expressions](https://stackoverflow.com/questions/4736) post for some basic regex info. Once you get some expression ready and still have issues with the solution, please edit the question with the latest details and we'll be glad to help you fix the problem. – Wiktor Stribiżew Sep 21 '20 at 23:19

0 Answers0