how to check if a string contains at least one alphabet in 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