Click here to Skip to main content
12,953,263 members (47,417 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 CPOL
Remove all blank lines, containing or not spaces:^:b*$\n


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

19 Oct 2010
Ziv Nitzan
There is also a Visual Studio extention called CodeMaid that has a lot of cleaning options


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

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.170525.1 | Last Updated 13 Oct 2010
Article Copyright 2010 by linebenchmark
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid