正则去除空行

^s*    ->  ''

正则去除注释

#.*?    ->   ''

原文地址:https://www.cnblogs.com/xqnq2007/p/7886069.html