check if string contains at least one letter javascript code example
Example: check if string contains at least one number javascript
// Check if string contains at least one number
/\d/.test("Hello123World!"); // true
// Check if string contains at least one number
/\d/.test("Hello123World!"); // true