• 📢 Notice: Our community has moved to Drained.gg! Visit us at Drained.gg for the latest updates and discussions.

Need help for " How to Filter Combo to get At least 1 letter and 1 number "

Jin Kazama

Premium member
Premium
Jin Kazama Rep
0
0
0
Rep
55
Jin Kazama Vouches
0
0
0
Vouches
0
Posts
122
Likes
158
3 YEARS
3 YEARS OF SERVICE
Please if anyone knows how to filter the combo and get only those passwords which has " Atleast 1 letter and 1 number "

Help would be really appreciated and I really need it.
[Image: Screenshot-1.png]
 

kittychire

Premium member
Premium
Rep
0
0
0
Rep
0
Vouches
0
0
0
Vouches
0
Posts
1
Likes
0
Bits
4 YEARS
4 YEARS OF SERVICE
````import repasswords = ["abc123", "password123", "12345", "abcdef"]filtered_passwords = [password for password in passwords if re.search(r'[a-zA-Z]+', password) and re.search(r'\d+', password)]print(filtered_passwords) ````
[Image: 6z9XkcK.png]
 

48,751

38,251

238,987

Top