Solved

Notepad++; Delete records from x to y

Posted on 2013-06-07
4
329 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
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: …
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now