正则表达式,删除空行,删除特定字符所在行

查找:
^.*main.*$
替换为:(空)

删除空行

替换为:(空)

原文地址:https://www.cnblogs.com/CodeWorkerLiMing/p/11445884.html