For example, I could want to split "Hello>>>World!!!!2]]splitting" into ["Hello", "World","2","splitting"]. It doesn't need to be ^that^, but I want to split a string with multiple (say 5) delimiters.
Thanks.
EDIT: I also want to keep the delimiter, making it ["Hello", ">>>", "World", "!!!!", "2", "]]", "splitting"]
Here's what I've tried:
>>> string = "Hello>>>World!!!!2]]splitting"
>>> import re
>>> re.split("(\W)>>>|!!!!|]]", string)
['Hello>>>World', None, '2', None, 'splitting']
(I'm new at Regex)
re.split?