【发布时间】:2017-05-16 09:31:54
【问题描述】:
在记事本++中我有很多行,有些行包含字符
我在这里找到了一个与答案非常相似的问题:
How to replace all words before a particular character in a line in Notepad++
但我未能根据我的需要修改正则表达式。
在那个答案中,正则表达式 = ^[\w\s]+\=(.*)$
所以我尝试将 = 替换为 ^[\w\s]+\<(.*)$ 但它不起作用。
这是文档中的一些示例数据:
test123@t-online.de
'hello' <hello@apollo.com
这是我想要的结果
test123@t-online.de
hello@apollo.com
【问题讨论】: