Friday, August 10, 2012

Selecting Vertical Text using Notepad++

Ever had a log file or data output file, and you wanted to cut a vertical section out of the file?  You could accomplish that with some sub-string functions, or you could use this nifty feature of Notepad++:

Open your text file in Notepad++:
Fig 1. Log file example in Notepad++



















Supposing that we wanted to only select the IP addresses on the left side of the log file, we can press and hold the ALT key, and then highlight the section we want:

Fig 2. Selecting a vertical section of text using ALT key



















From here, you can delete, cut, or copy the selection just like you would normally.

For more information, check out:  http://notepad-plus-plus.org/

No comments:

Post a Comment