W
W
W7772019-07-08 15:57:36
Notepad++
W777, 2019-07-08 15:57:36

How to replace not all found words with Notepad++?

Good time.
Faced with a problem. It is necessary in a very large number of text files to find the word "Format" and replace it with the word "Series".
The difficulty is that you need to replace the word "Format" only in the line that starts with Column(name=qwerty
and somewhere in the middle of the line (in each file differently) there is the word "Format".
Column(name=qwerty tag=" " band=detail id=3 x='1' y='7' er Format qwe 2v34 gd 3f4g dfgdfgasdf
Column(name=ytrewq tag="" fgd x='5' band=detail y='7' id=3 Format gdfbvn d 34g fsdg
Column(name=asdfg tag="" x='3 band=detail sa id=6 y='2' Format awerw 23r4 gd 34fgh dfgdfgasdf
Column(name=fdghv tag=""
Column(name=qwerty tag="" band=detail id=3 x='1' y='7' er Series qwe 2v34 gd 3f4g dfgdfgasdf
Column(name=ytrewq tag="" fgd x='5' band=detail y='7' id=3 Format gdfbvn d 34g fsdg
Column(name=asdfg tag="" x='3 band=detail sa id=6 y='2' Format awerw 23r4 gd 34fgh dfgdfgasdf
Column(name=fdghv tag ="" band=detail id=2 y='6' x='1' Format bvncnmh4 gdfgh 34g dfgdfgasdf

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Elvis, 2019-07-08
@W777

Search:
Replacement
Result:
UPD: link

F
Farwisdomer, 2019-07-08
@Farwisdomer

https://superuser.com/questions/1268948/notepad-ho...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question