[python]Modification of the regex code

This is a modification of the code I posted previously for regex practice. I change the from split() to splitlines(), splitlines() will split which row of the string only when the end of string is detected hence will preserve the string that has whitespaces in between on each row. So here's the example: notice the … Continue reading [python]Modification of the regex code