开发者

I want to find-and-replace a sentence, while keeping several segments

开发者 https://www.devze.com 2022-12-31 07:36 出处:网络
Is there a way in Notepad++ to retain on or more 开发者_JAVA技巧entire strings, and place them somewhere else?

Is there a way in Notepad++ to retain on or more 开发者_JAVA技巧entire strings, and place them somewhere else?

To Clarify, what I want to do is search for a sentence such as

QuestionAnswers[qnumber 35]="Fruit", "Plants"

and replace with

NewFormatQuestion = [FirstAnswer="Fruit", SecondAnswer="Plants"]

This isn't the actual code, but it represents what I want to do.


If you know regular expressions, you can use the regex setting in the find and replace tool to do what you want (I think). I don't know regex so I can't help on that front.

0

精彩评论

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