21759Re: [Clip] Insert string at the start of each line of a block
- Apr 29, 2011Jim Eoff wrote:
> Lines) and the text of the block is selected.^!Replace "^P" >> "^Pa string of my choice " HASTI
> I hope to have a string of my choice inserted at the start of each
> selected line.
The problem with this is, it will miss the first line and do one too
much after the last. So let's better make it
^!Replace "^(.*)$" >> "a string of my choice $1" HRASTI
After that your block won't be selected any more.
- << Previous post in topic Next post in topic >>