仅删除txt文件中的LF

dan*_*l__ 2 php regex text notepad++

我只需删除LF,而不是CRLF.有什么想法吗?

我可以使用PHP,notepad ++,shell脚本等

在此输入图像描述

Dal*_*ale 8

在记事本++中

试试这个 : (?<!\r)\n

确保在搜索选项中设置正则表达式选项,希望它有所帮助