You are viewing a single comment's thread. Return to all comments →
Regex_Pattern = r'^(Mrs|Mr|Ms|Dr|Er)\.[a-zA-Z]+$' import re print(str(bool(re.search(Regex_Pattern, input()))).lower())
Seems like cookies are disabled on this browser, please enable them to open this website
Alternative Matching
You are viewing a single comment's thread. Return to all comments →