Stripping tabs and spaces