You are viewing a single comment's thread. Return to all comments →
Regex_Pattern = r'^[123][012][xS0][30Aa][xsu][.,]$' # Do not delete 'r'.
import re
print(str(bool(re.search(Regex_Pattern, raw_input()))).lower()) its not passing this test case 21sAu,
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Matching Specific Characters
You are viewing a single comment's thread. Return to all comments →
Regex_Pattern = r'^[123][012][xS0][30Aa][xsu][.,]$' # Do not delete 'r'.
import re
print(str(bool(re.search(Regex_Pattern, raw_input()))).lower()) its not passing this test case 21sAu,