Solved

Notepad++; Delete records from x to y

Posted on 2013-06-07
4
336 Views
Last Modified: 2013-06-07
Anyone know how I would delete a block of records from rec #x to rec #y?
0
Comment
Question by:HLRosenberger
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:dec0mpile
ID: 39229235
You can select the records by clicking the line number on the left hand side and dragging down.

Then you right click and select delete.

np1
np2
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 39229280
Sorry.  I know that.  I was not clear enough on my question.   The number of records is in the 10's of thousands, so that method is not realistic.  

I did manage to easily block comment them out.  Maybe there is a simple way to delete all block commented lines?
0
 
LVL 7

Accepted Solution

by:
dec0mpile earned 500 total points
ID: 39229486
If you use the same method above

Click the first record to highlight it (let's say record 1)
Then hold shift down and select the last record (let's say 20000)

Notepad++ selects all records in-between

The right click and click delete
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 39229497
Thanks!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question