Visual Studio - Delete whitespaces at the end of lines

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.

Follow me:
Enjoy this blog? Buy Me A Coffee Donate with PayPal

Leave a reply