Notepad++ – Select all lines from columns

notepad

I have an extremely long text file (about 15k lines). It only contains numbers (6 numbers separated by a space). I am only interested in the first three numbers of each line. I have tried the column mode selection and drag it down, however it's very slow, and I have several files to handle.

I have also tried the Begin/End Selection trick, however it doesn't seem to work with columns.

Is there a way to automatically select only the three last columns of numbers in a text file ? One way it could would be an option to select all lines in specified column(s). Is it possible whatsoever ?

Best Answer

Try this:

  1. Press CTRL+Home to move the typing cursor to the top of the document.
  2. Now, use the scroll bar to rapidly scroll to the bottom of the document without changing the position of the typing cursor. You can drag the slider portion of the scroll bar to rapidly reach the bottom of the document. It is really fast.
  3. Move your mouse pointer after the third number of the last line, hold down Alt+Shift and click.

Bingo!

Related Question