” in Text

问题描述 投票:0回答:1

I got the following text:

Code = ABCD123 | Points = 30
Code = ABCD333 | Points = 44

At the end, I want to removing anything except the Code, output:

ABCD123
ABCD333

I actually tried it withCode = | P.+

But I don't know how to get "

regex notepad++ regex-lookarounds regex-group
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.