What is the \ 1 of notepad ++ used?
\ 1 is used in the replaced expression to replace the first matching group in the searched expression. For example, you can find ABC (. *) 123, replace with 456 \ 1def, and identify all strings starting with ABC and ending with 123. Replace ABC with 456 and ending with Def.
Replace \ 1 in the expression to indicate (. *) in the Search expression (.*)
I am used to using emeditor.
Regular Expressions are easier than notepad ++.
In addition, you can try powergrep.
This software is specially designed to replace text with regular expressions and has very powerful functions.
Both of these software are charged, but there is a cracked version.
I am dull. For example.
Sample1:
Source:
Abcaaa123
Abcbbb123
Abcccc123
Abcddd123
Search target: ABC (. *) 123
Target replacement: 456 \ 1def
Result:
456 aaadef
456 bbbdef
456 cccdef
456 ddddef
Sample2:
Source:
Int gdqlxbhindex
Int gdqlxmcindex
Int qshydlindex
Int qshzdydfhindex
Int wgdlindex
Int wgzdfhindex
Search target: int (. *) Index
Target of replacement: Row. getcell \ (\ 1index \). settext \ (string. valueof \ (item. Get \ ("\ 1 "\)\)\);
Result:
row. getcell (gdqlxbhindex ). settext (string. valueof (item. get ("gdqlxbh");
row. getcell (gdqlxmcindex ). settext (string. valueof (item. get ("gdqlxmc");
row. getcell (qshydlindex ). settext (string. valueof (item. get ("qshydl");
row. getcell (qshzdydfhindex ). settext (string. valueof (item. get ("qshzdydfh");
row. getcell (wgdlindex ). settext (string. valueof (item. get ("wgdl");
row. getcell (wgzdfhindex ). settext (string. valueof (item. get ("wgzdfh");