1、选择Regular expression项,允许查询匹配正则表达式
2、在Find文本框输入正则表达式:^s* , 点击ReplaceAll
来源: https://blog.csdn.net/zhuiyucanxin/article/details/80270564