?
Solved

Notepad++; Delete records from x to y

Posted on 2013-06-07
4
Medium Priority
?
348 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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: …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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 keystrokes in Netbeans IDE 8.0 for Windows.
Suggested Courses

764 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