Notepad++ How do I insert a column of data?

ReplaceNotepad++Paste

Replace Problem Overview


So I am trying to take a column of text data and replace that data with edited information. I am trying to manipulate values in a fixed width file. I want to leave the rows intact. I know I can hold ALT and select a whole column of information but when I try to paste into the selected area Notepad++ just adds the information above the first row and deletes the column Ive selected. Please help, I have been researching for a while now and cant find anything on this.

Below I will try to explain a bit better, if I were to select the asterisks using Alt+mouse and I have a column of data that I have copied from another file how could I replace the asterisks but leave the other data intact?

1111122222**22233333333333

1111122222**22222223333333

1111111122**22222223333333

Replace Solutions


Solution 1 - Replace

If I understand the question correctly, you have copied the column of data from somewhere else and want to copy it as a column into notepad++. If you simply select a column in your notepad++ document and try to replace it with the external column, you will get many copies of that column. The trick is to first paste your column into an empty document (or into new lines in an existing document), then select that column you just pasted in but make sure you select it in column mode, i.e., while holding down the Alt key, and then copy it with Ctrl-C. Now you can column-select the column you want to replace and copy in your copied column with Ctrl-V

Solution 2 - Replace

You can use ALT + Mouse to select the columns to copy the data and replace it. This animated gif is self explanatory.

enter image description here

Solution 3 - Replace

If I understand your question correctly, you want to paste a certain text in front of all columns you've selected ?

  1. Either use ALT + Mouse or SHIFT + ALT + up/down arrow to select the desired number of columns.
  2. Either use ALT + C or Menu Edit -> Column Editor to enter the Column Editor.
  3. Fill in the "Text to Insert" and press Ok.

Good luck !

Edit: as pointed out in the comment, this is actually answered in https://stackoverflow.com/questions/16865957/notepad-how-to-paste-string-across-multiple-lines

Solution 4 - Replace

ALT+Mouse works alright for me. I was able to replace the asterisks with other charactes. Maybe we have diferent versions? I don't think so, though.

Make sure you are also using Alt+Mouse when you select the information you want to copy. Not only when you paste it.

I hope that helps you.

Good luck!

Solution 5 - Replace

Replacing a column with new data is easy:

  1. Hold ALT + select with your mouse the column (you already did that)
  2. Press DELETE or CTRL + X to remove the old column
  3. Leave the cursor flickering in the same position (or wherever you want to add the new column)
  4. Paste CTRL + V

Note: you must NOT have your column selected when pasting. I think that's what confused you.

Solution 6 - Replace

Copy required text(columns) with Shift+alt and mouse (or arrows), then paste as required with ctrl+v.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser2871554View Question on Stackoverflow
Solution 1 - ReplaceGustav DeliusView Answer on Stackoverflow
Solution 2 - ReplaceNotepadPlusPlus PROView Answer on Stackoverflow
Solution 3 - ReplacestedesView Answer on Stackoverflow
Solution 4 - ReplacegpanichView Answer on Stackoverflow
Solution 5 - ReplacepsxlsView Answer on Stackoverflow
Solution 6 - ReplaceAni MenonView Answer on Stackoverflow