Like this kind of js regular match the text inside the label and the text outside the tag how to write, ask for advice

<<>><<>>


5


str.match(/[^<>]+/g);
str.split(/(?:<<|>>)/);
Menu