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