IDEA中通过正则表达式批量替换空白行

快捷键Ctrl+r 

填入^s* ,勾选Regex,Replace all

原文地址:https://www.cnblogs.com/DirWang/p/11263849.html