Visual Studio - Delete whitespaces at the end of lines

  • Gérald Barré

Here is a little trick to remove spaces and tabs at the end of lines.

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

There you go.

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

Follow me:
Enjoy this blog?Buy Me A Coffee💖 Sponsor on GitHub