Solved

Notepad++; Delete records from x to y

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
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…
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.

757 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

27 Experts available now in Live!

Get 1:1 Help Now