Matching Word & Non-Word Character

  • + 0 comments
    Regex_Pattern = r"\w{3}\.\w+\.\w{3}"	# Do not delete 'r'.
    
    import re