Return to Snippet

Revision: 8758
at October 6, 2008 06:13 by kouphax


Initial Code
[ \t]+$

Initial URL


Initial Description
This regular expression matches any trailing whitespace at the end of a line (whitespace and tabs).  Replace this with nothing to remove trailing whitespace from files.

Initial Title
Strip Trailing Whitespace from Lines in a File

Initial Tags
regex

Initial Language
Regular Expression