Merge leading and trailing whitespace validators