Question and answer is powered by AnsPress.io
if my string value like
var val = "My word 26";
Using jQuery How can I check any number value exit or not in my string value.
If you want to check any number value exit or not in a string, apply this code.
<script> var val = "My word 26"; if(!/\d/.test(val)) { alert("No is exit in string"); } </script>