removing spaces after the stars and pipes too..