Solved

Notepad++; Delete records from x to y

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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. …
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…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

809 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