^[^\\x00-\\x1F\\x7F-\\xFF]+$
This regex will properly fail to match a string that contains non-printing (hex 00-1f) or
Hmm... instead of rejecting byte ranges, try matching actual Unicode characters, e.g.:
^[\u0020-\u007e]+$