Click here to Skip to main content
13,346,397 members (67,769 online)
Click here to Skip to main content
Add your own
alternative version


12 bookmarked
Posted 13 Oct 2010

Remove blank lines from code in Visual Studio

, 13 Oct 2010
Rate this:
Please Sign up or sign in to vote.
Remove all blank lines, containing or not spaces:^:b*$\n
Remove all blank lines, containing or not spaces:



This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer
Spain Spain
No Biography provided

You may also be interested in...


Comments and Discussions

GeneralReason for my vote of 5 Great find. Its removing the blank l... Pin
Syed Shabeer25-Oct-11 3:03
memberSyed Shabeer25-Oct-11 3:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.180111.1 | Last Updated 13 Oct 2010
Article Copyright 2010 by linebenchmark
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid