Thanks for registering for our super-not-spam mailing list! We'll let you unsubscribe if you can find a super-special password!
Here are the criteria for the password:
- Matches the following regex expression:
\w.\w\w
- Includes 3 digits, 1 special character/symbol, and 4 letters
- Contains the letter
r
and the numbers are between0
and5
(inclusive). - The sum of the ASCII codes for the password is 631.
- The character in position 4 (zero-indexed) is not a lowercase letter.
- The special character is before all three digits.
- The digits add up to 10.
- Two of the digits are the same.
- The special character is between
!
and#
. - Exactly two of the lowercase letters and two of the digits are adjacent.
Password to unsubscribe: ________________________________
Can you find it? It will be obvious once you do. If you get a password that does not seem obvious, that's not the one you're looking for. Therefore, it might be helpful to write a program for this.
!
and#
" means in ASCII value? (And I take it it's inclusive?) $\endgroup$