add regex to strip the whitespace