Regex to remove someone's overzealous use of regions.





5.00/5 (13 votes)
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.
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.