In my specific example, for a selection of lines I want to duplicate them inline, separated by an arbitrary marker
Ie,
stringA
stringB
becomes
stringA_something_stringA
stringB_something_stringB
Altough I'm mediocre with regex, I believe this should be accomplished by searching for something like:
(string.)_something_(string.)
and replacing with
\1_something_\1
However I'm unable to get even simple \1 replacements working. Am I doing something wrong?