notepad++正则表达式删除所有行某字符开始之前或者之后所有字符

删除S 之后的所有字符用:s.*$

删除S 之前的所有字符用:^.*s

原文地址:https://www.cnblogs.com/Byrd/p/9895417.html