Change tab space and trailing space characters