Menu

vertical selection in NotePad ++ 4.7.5

2008-02-25
2012-11-13
  • Nobody/Anonymous

    Hi All,
    I just downloaded NotePad Plus 4.7.5 and was wondering if there is a way to select vertically?

    Foe example:

    10006827,000000421,00841-0-0,00841-0,00841
    10006835,000000422,00841-0-0,00841-0,00841
    10006843,000000423,00841-0-0,00841-0,00841
    10006850,000000424,00841-0-0,00841-0,00841
    10006868,000000425,00841-0-0,00841-0,00841
    10006876,000000426,00841-0-0,00841-0,00841

    I have this file with thousands of rows and I need to remove the 1000 from the beginning of each row. I know that I can use a macro to do that but a vertical selection will be even better.

    Thanks in advance
    Golann555@yahoo.com

     
    • Nobody/Anonymous

      I guess the best way to do this if simply find and replace all occurrences of 1000 at the start of each line by either looking for a newline before the 1000 or using regular expressions. Column mode is slow, especially with large selections.

      CTRL+F or CTRL+R to open dialog.

      Find:
      ^1000

      Replace: leave this field empty

      Check regular expressions.
      Replace all.

       
    • Nobody/Anonymous

      Found it

      Alt + left mouse click.

      :)