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++

Replace With - 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: “, ”

Good luck with your Notepad++ work!

Need a 2D animated video for your business? Get in touch!

Examples of our handcrafted 2D animated video work and whiteboard videos:

Glasgow City Council - Sundstedt Animation
Glasgow City Council – Animated Explainer Video
The Old Red Rooster Music Video
The Old Red Rooster - Animated Music Video
International Diabetes Federation - Taking Diabetes to Heart - Sundstedt Animation
IDF.org - Animated Campaign Video
Eco-Schools-Explainer-Video-Sundstedt-Animation
Eco-Schools - Animated Explainer Video
Microsoft Whiteboard Video - Sundstedt Animation
Microsoft Windows 10 Protects - Whiteboard Video
The Black Sheep - Animated Music Video
The Black Sheep - Animated Music Video
DPRAA Animated Explainer Video
DPRAA - Animated Explainer Video
The-Mother-Lush-Animated-Music-Video
Lush - Animated Music Video
Cayman Dance Animated Music Video - Sundstedt Animation
Cayman Dance - Animated Music Video
Live-Pale-White-Guy
Live - Animated Music Video
100-Years-in-Marketing-Explainer-Video
100 Years in Marketing - Animated Explainer Video
Duraflor Animated Explainer Video
Duraflor - Animated Explainer Video
Milo Biotechnology Animated Explainer Video
Milo Biotechnology - Animated Explainer Video
KiDS Educational Whiteboard Video
IDF KiDS - Educational Whiteboard Video
Dumfries & Galloway Animated Explainer Video
Dumfries & Galloway - Animated Marketing Video
Windows 10 Defender Advanced Threat Protection
Windows 10 Defender - Whiteboard Video
Zestica Educational Medical Animation
Zestica - Animated Educational Video
Givvit Explainer Video
Givvit - Animated Explainer Video
ARCHIE-WeST Animation
ARCHIE-WeSt - Animated Explainer Video
BASW-Eddie-Animated-Explainer-Video-295x166
BASW Eddie - Animated Marketing Video
Windows 10 Enterprise med Software Assurance
Windows 10 Enterprise Software Assurance - Whiteboard Video
Track-My-Beef-Animated-Explainer-Video
Track My Beef - Biotech Explainer Video
BASW-Steven Explainer Video by Sundstedt Animation Studio
BASW Steven - Marketing Video
M-Squared-Lasers Explainer Animation
M Squared Lasers - Animated Explainer Video
BASW-Amber-Animated-Explainer-Video-Scotland
BASW Amber - Marketing Video
LightForge-Powerphotonic-Explainer-Video
LightForge - Animated Explainer Video
Titan Vision Animated Explainer Video by Sundstedt Animation
Titan Vision - Animated Explainer Video
Kom igång med Windows 10 i molnet VideoScribe
Kom igång med Windows 10 i molnet - Whiteboard Video
Push-Digital-Animated-Explainer-Video-Google-Ranking-SEO
Push Digital - Animated Explainer Video
Windows As A Service VideoScribe
Windows As A Service - Whiteboard Video
Pfizer Explainer Video
Pfizer Explainer Video [Coming Soon]
How-to-Become-an-Early-Riser
Becoming an Early Riser - Explainer Video
Animating a bobbing head or head-bob in After Effects
What is the best animated explainer video style for your business?