Answers for "javascript check number of words in sentence which does not contains number and special character"

1

check if a string contains digits js

function hasNumber(myString) {
  return /\d/.test(myString);
}
Posted by: Guest on July-22-2020

Code answers related to "javascript check number of words in sentence which does not contains number and special character"

Code answers related to "Javascript"

Browse Popular Code Answers by Language