check if string contains at least one number javascript

Solutions on MaxInterview for check if string contains at least one number javascript by the best coders in the world

showing results for - "check if string contains at least one number javascript"
Harold
24 Aug 2016
1// Check if string contains at least one number
2/\d/.test("Hello123World!"); // true