remove non-breaking space from validateIn function