Hi All, I was trying to find the unencrypted passwords in my logs by using one anchor pattern. After getting the password value by anchor pattern, I have to check whether it is encrypted or not. In my logs the encyption is done by using asterisk(*) symbol. So, It has been difficult for me to differentiate between user entered password and encrypted password as user password can also have the asterisk(*) symbol. There are no prior requirements for the passwords like atleast 1Uppercase, 1 lowercase etc.. The Password will have no min length.
Passwords can be like:
1. 1234556687
2. RonnieAlex
3. Tyler@123
4. #%@cosmic123
5. A***B*V*****U**Y***(Encrypted password in my log)
Help me with the regex that matches all the above cases.
Thx in advance