"Start/End"/End."/> "Start/End"/End.">

Home  >  Article  >  Development Tools  >  How to delete any n consecutive lines in Notepad++

How to delete any n consecutive lines in Notepad++

(*-*)浩
(*-*)浩Original
2019-12-28 15:07:526240browse

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

How to delete any n consecutive lines in Notepad++(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.

How to delete any n consecutive lines in Notepad++The effect is as follows:

How to delete any n consecutive lines in Notepad++

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn