Replace new lines with commas in Notepad++

Posted on Sunday, 24 September 2017
What is the best animated explainer video style for your business?

Replace new lines with commas in Notepad++

How can I take a list of words in Notepad++ and replace new lines with commas?

For example a list like this:

word1
word2
word3
word4

and convert it to:

word1, word2, word3, word4

Solution:

In Notepad++ Open the find and replace dialog (press CTRL+H).

Then select Regular expression in the ‘Search Mode’ section at the bottom.

In the Find what field enter this: [\r\n]+

In the Replace with: “, “

What is the best animated explainer video style for your business?
error: Alert: Content is protected !!