Windows 10, Emacs 25.1, package iedit
Suppose I has text:
1.aaa_1111_hello
2.aaa_2222_hello
3.aaa_1111_hello
4.aaa_4444_hello
5.aaa_1111_hello
6.aaa_5555_hello
7.aaa_1111_hello
8.aaa_1111_hello
...
100.aaa_1111_hello
I want to replace all (100 lines) "_1111" by text "_zero"
Steps:
Select text "_1111"
- M-x iedit-mode`
M-D
(to delete all find text _1111)- Input new text _zero
Here result.
1.aaa_zero_hello
2.aaa_2222_hello
3.aaa_zero_hello
4.aaa_4444_hello
5.aaa_zero_hello
6.aaa_5555_hello
7.aaa_zero_hello
8.aaa_zero_hello
...
100.aaa_zero_hello
OK.
But now I want to replace text ONLY from line "5.aaa_1111_hello" and to the end down. So as result I need to replace 98 lines.
The result must like this:
1.aaa_1111_hello
2.aaa_2222_hello
3.aaa_1111_hello
4.aaa_4444_hello
5.aaa_zero_hello
6.aaa_5555_hello
7.aaa_zero_hello
8.aaa_zero_hello
...
100.aaa_zero_hello
Is it possible by iedit?