I have a file with lots of text editing using NotePad++.
for example
some textanother
([^<]+) => \1
([^<]+)
\1
[^<]+ matches one or more of any character except <, and the parentheses capture it in group #1. \1 inserts the captured text into the replacement string.
[^<]+
<