开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜