Question Bank

JavaScript String-Only Regex Match: Three Approaches Quiz

Difficulty: Medium

Validate that a string contains only letters and whitespace, three ways (`String.prototype.match` + literal, `RegExp.test`, including-special-chars via `\D`), plus companions on Unicode letters and inverting the rule.