You are viewing a single comment's thread. Return to all comments →
import re if __name__ == '__main__': s = input() print(bool(re.search(r'[a-zA-Z0-9]', s))) print(bool(re.search(r'[a-zA-Z]', s))) print(bool(re.search(r'[0-9]', s))) print(bool(re.search(r'[a-z]', s))) ercase print(bool(re.search(r'[A-Z]', s))) # uppercase
Seems like cookies are disabled on this browser, please enable them to open this website
String Validators
You are viewing a single comment's thread. Return to all comments →