Using RegEX To Prefix And Append In Notepad++

后端 未结 4 1475
醉酒成梦
醉酒成梦 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:44

    Regular Expression that can be used:

    Find: \w.+
    Replace: able:"$&"
    

    As, $& will give you the string you search for.

    Refer: regexr

提交回复
热议问题