Notepad++ add to every line

后端 未结 13 2010
无人共我
无人共我 2020-11-29 14:18

I\'m using Notepad++ and I can\'t figure this out :

I have numerous lines all starting with http. I need to add some text in front of it in every line.

13条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 15:00

    Well, I am posting this after such a long time but this will the easiest of all.

    1. To add text at the beginning/a-certain-place-from-start for all lines, just click there and do ALT+C and you will get the below box. Type in your text and click OK and it's done.

    2. To add a certain text at end of all lines, do CTRL+F, and choose REPLACE. You will get the below box. Put in '$' in 'find what' and in 'replace with' type in your text.Make sure you choose 'regular expression' in the search mode (left down). Finally click 'replace all' and you are done.

提交回复
热议问题