V
V
Vordigont2011-03-21 18:11:44
Notepad++
Vordigont, 2011-03-21 18:11:44

Regular in Notepad++

I just can't think of a regular expression for Notepad++ to replace this text:
"lalala"
with this:
lalala=lalala

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
max_rip, 2011-03-21
@max_rip

find (lalala)
replace with $1=$1

V
vanfukov, 2011-03-21
@vanfukov

And what, exactly, is the problem?
Find: "lalala"
Replace with: "lalala=lalala"

J
Jazzist, 2011-03-21
@Jazzist

ctrl-h

W
wanmen, 2011-03-21
@wanmen

preg_replace - if the replacement is according to the template
str_replace - if there is a ready-made replacement and replacement value.
This is offhand, a more accurate answer after the task is clearly visible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question