Using RegEX To Prefix And Append In Notepad++

后端 未结 4 1479
醉酒成梦
醉酒成梦 2020-11-30 16:56

I have quite a large list of words in a txt file and I\'m trying to do a regex find and replace in Notepad++. I need to add a string before each line and after each line.. S

4条回答
  •  庸人自扰
    2020-11-30 17:37

    Use a Macro.

    Macro>Start Recording

    Use the keyboard to make your changes in a repeatable manner e.g.

    home>type "able">end>down arrow>home

    Then go back to the menu and click stop recording then run a macro multiple times.

    That should do it and no regex based complications!

提交回复
热议问题