Python - Split strings ignoring the space formatting characters
Given a String, Split into words ignoring space formatting characters like \n, \t, etc. Input : test_str = 'geeksforgeeks\n\r\\nt\t\n\t\tbest\r\tfor\f\vgeeks' Output : ['geeksforgeeks', 'best', 'for', 'geeks'] Explanation : All space characters are used as parameter to join. Input : test_str = 'geeksforgeeks\n\r\\nt\t\n\t\tbest' Output : ['geeksfor