Matching Word & Non-Word Character

  • + 0 comments
    Regex_Pattern = r"\w+\W\w{10}\W\w{3}"
    
    import re
    
    print(str(bool(re.search(Regex_Pattern, input()))).lower())