Visual Studio - Delete whitespaces at the end of lines

 
 
  • Gérald Barré

Here is a quick trick to remove trailing spaces and tabs from lines in Visual Studio.

  1. Open Quick Replace (Edit / Find and Replace)
  2. Search for: (:b+)$
  3. Search Options: Use regular expressions
  4. Replace all

Do you have a question or a suggestion about this post? Contact me!

Follow me:
Enjoy this blog?