JN_0022:VSCode操作技巧 去除空行 去掉换行付

1,去除空行

^\s*(?=\r?$)\n

2,去掉换行付

如果要替换显示出来的\n,替换上要用正则表达式,然后使用\r\n。

猜你喜欢

转载自www.cnblogs.com/eliteboy/p/12463858.html