Python re.split() Method
The re.split() method splits a string by pattern matches.
Syntax
re.split(pattern, string, maxsplit=0)
Return Value
A list of strings.
Example
Output
Click Run to execute your code