Remove White Line Or Space In Visual Studio

I know that this type of code snippet but this code snippet is very useful for everyone experienced or fresher developer. when we make a function or develop code am sure some extra lines add in code. Like this way, 
  1. {  
  2.              button2.Text = "Please Select Me...";  
  3.          }  
  4.   //Blank Line
  5.   //Blank Line
  6.          };  
  7.   
  8.      } /// End button2 scope here.   
  9.   
  10.   //Blank line
  11. // Blank line
  12.   
  13.      private void Save_Click(object sender, EventArgs e)  
  14.      {  
suppose this type of blank lines on every pages. if you want manage your code that's no possible remove line one by one. Thank to Microsoft to give to option remove all blank line.
 
Open the find and replace pop up windows and past the code "^(?([^\r\n])\s)*\r?$\r?\n" in find textbox.



Note : You must be select the "Use Regular Expressions" before hit the replace button.


I hope this trick very useful for every one.