A Visual Studio regex to remove someone's overzealous use of regions in VS.
Find and replace: (^.*\#region.*$)|(^.*\#endregion.*$)
Remember to enable regular expressions in the Visual Studio find and replace dialog.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)
General News Suggestion Question Bug Answer Joke Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.