message = <@U0104FGR7SL> test111 <@U0106LSJ> test33
There is the above string.
Based on the reference letter corresponding to the pattern <@U......>
I'd like to split the text.
I'd like to cut it by a pattern.
regex = re.compile("<@U[^>]+>")
match = regex.split (message)
If I do this, I get a "test, test22"
<@U0104FGR7SL> test111
<@U0106LSJ> test33
I'd like to split it this way.
Please advise me what to do.