Matching Anything But a Newline

  • + 1 comment

    either of these would do

    regex_pattern = r"^(.{3}\.){3}.{3}$"	# Do not delete 'r'.
    regex_pattern = r"^...\....\....\....$"