Eclipse利用正则表达式替换空行 逐行删除空行麻烦,用Eclipse查找替换功能,默认快捷键:Ctrl + F,需要勾选上“Regular expressions”。 Find: ^s* Replace with: 使用替换功能