Do you use Notepad++ at work? It has useful commands to convert comma-separated values into columns and vice versa. Let me explain the shortcuts.

Notepad++ Commands

1. Converting Comma-Separated Rows into Columns

I need to convert a comma-separated row into a column. The column values should not have commas at the end.

Data

Krishna,Rani,Mohan,Radha,Venki,Sowmya
Row data

Ctrl+A, and Ctrl+H. Then, use the below parameters.

Find What , 
Replace with \n
Search Mode Regular expression.
Commands

Click on the Replace All.

Final result

Column Data Result
Best sellers skin care

2. Converting Columns into Comma-separated Rows

My data is

ABC

BCD

CDE

Column data input

select CTRL+A and CTRL+H , in the window use

Find What: \r\n

Replace with: ,

Select Extended in Search mode.

Commands in window

Now click on Replace All

Final result

References

Fediverse reactions

Discover more from Srinimf

Subscribe now to keep reading and get access to the full archive.

Continue reading