I\'m trying to split a string using a variety of characters as delimiters and also keep those delimiters in their own array index. For example say I want to split the string:
How about this pattern?
(\w+)|([\p{P}\p{S}])