开发者

NotePad++ regex find between

I wan't to pull out all instances of "brand":"SOMETHING HERE" in my document where SOMETHING HERE could be any number of things bu开发者_运维百科t its always in the format of the above... how do I do this with NP++


This regex should do it...

"brand":"(.*?)"


Ctrl + F, check 'Regular expression', select 'Replace' tab. In 'find what', type

"brand":"[\S]+"

Leave 'Replace with' empty to remove all instances of "brand":"[one or more non white-space characters]"


   (brand:).*$ 

should work in NP++

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜