Removing empty lines in Notepad++

前端 未结 22 1884
时光取名叫无心
时光取名叫无心 2020-11-28 00:04

How can I replace empty lines in Notepad++? I tried a find and replace with the empty lines in the find, and nothing in the replace, but it did not work; it probably needs r

22条回答
  •  情书的邮戳
    2020-11-28 00:49

    There is now a built-in way to do this as of version 6.5.2

    Edit -> Line Operations -> Remove Empty Lines or Remove Empty Lines (Containing Blank characters)

提交回复
热议问题