Regelmäßiger Ausdruck, der keinen Platz in JavaScript zulässt

var regexp = /^\S*$/; // a string consisting only of non-whitespaces
Indian Gooner