← Back to Users
Niek+Kouwenberg's activity in the archive.
Or removing whitespace from each line of code (replace with \\1): [\t ]+(\r?\n|$) Removes only tabs and spaces, since newlines should be preserved. It just doesn't trim trailing newlines at the end of the file.
Or removing whitespace from each line of code (replace with \\1):
[\t ]+(\r?\n|$)
Removes only tabs and spaces, since newlines should be preserved. It just doesn't trim trailing newlines at the end of the file.