Notepad++ add to every line

后端 未结 13 2001
无人共我
无人共我 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 14:44

    Simply in the "Find what:" field, type \r. This means "Ends of the Row". In the "Replace with:" field, you put what you want for instance .xml

    if you have several lines, and you are aiming to add that text to the end of the each line, you need to markup the option ". matches newline" in the "Search Mode" group box.

    Example:

    You have a file name list, but you want to add an extension like .xml. This would be what you need to do and Bang! One shot!:

    See the image here

提交回复
热议问题