Replace new lines with commas in Notepad++

Posted on Sunday, 24 September 2017
Animating a bobbing head or head-bob in After Effects
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: “, “

Anders is the Founder and Owner at Sundstedt Animation, where he creates handcrafted animated explainer videos, music videos and whiteboard videos. He lives in Glasgow, Scotland and enjoys film and photography. You can follow him on LinkedIn, Google+ and Twitter.

It's only fair to share...
Share on Facebook
Facebook
Share on Google+
Google+
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Email this to someone
email
Animating a bobbing head or head-bob in After Effects
What is the best animated explainer video style for your business?