Removing all line breaks and adding them after certain text

后端 未结 5 827
耶瑟儿~
耶瑟儿~ 2021-01-30 03:10

I have text file in which I have to remove all line breaks, and later add new ones after each text . how could I do that using replace tool?

5条回答
  •  礼貌的吻别
    2021-01-30 03:48

    • Open Notepad++
    • Paste your text
    • Control + H

    In the pop up

    • Find what: \r\n
    • Replace with: BLANK_SPACE

    You end up with a big line. Then

    • Control + H

    In the pop up

    • Find what: (\.)
    • Replace with: \r\n

    So you end up with lines that end by dot

    And if you have to do the same process lots of times

    • Go to Macro
    • Start recording
    • Do the process above
    • Go to Macro
    • Stop recording
    • Save current recorded macro
    • Choose a short cut
    • Select the text you want to apply the process (Control + A)
    • Do the shortcut

提交回复
热议问题