1.去除空行
CTRL+H打开replace功能,勾选上左侧的regular expression,并填写
find what栏 : s+$ (正则表达式)replace with栏 : (这行留空)
接着点replace all即可
2.去除html注释
CTRL+H打开replace功能,勾选上左侧的regular expression,并填写
find what栏 : <!--[sS]*?--> (正则表达式)replace with栏 : (这行留空)
接着点replace all即可
3.去除js注释
CTRL+H打开replace功能,勾选上左侧的regular expression,并填写
find what栏 : /*[sS]*?/ (正则表达式)replace with栏 : (这行留空)
接着点replace all即可