/\s*$//g; 			# strip all trailing whitespace
			s/\s+/ /g;			# convert (multiple) whitespace to one space
		