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

Posted by Ciremo on Super User See other posts from Super User or by Ciremo
Published on 2010-05-19T04:13:12Z Indexed on 2010/05/19 4:20 UTC
Read the original article Hit count: 181

Filed under:
|

Is there a way in Notepad++ to retain on or more 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.

© Super User or respective owner

Related posts about lua

Related posts about find-and-replace