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++
精彩评论