Matching Specific Characters

  • + 0 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,