expands tabs to 4 spaces and removes ^\ *$