"Start/End"/End."/> "Start/End"/End.">
Home > Article > Development Tools > How to delete any n consecutive lines in Notepad++
Use the line marking function in Notepad to delete any specified n lines.
Case 1, delete lines 201 to 10000 in sample2.dat. (Recommended learning: notepad )
The method is as follows:
(1) User NotePad opens sample2.dat, right-click line 201 —》"Start/End"/Start
(2) Then, on line 10000, click "10000" with the mouse—》"Start/End" /End, as shown in Figure (2):
At this time, the background of lines 201 to 10000 turns gray, which means that all lines 201 to 10000 have been selected. Finally, press Delete Just press the key.
The effect is as follows:
The above is the detailed content of How to delete any n consecutive lines in Notepad++. For more information, please follow other related articles on the PHP Chinese website!