again, `ZU.trimInternal` is not appropriate here. You're probably looking for `patentnumber.replace(/\s+/g, '')`