I need to check an input string to see if it has at least one number in it. Example: Love4You Or : LotsOfNumbers012344.
Can someone tell me how to check for one or many digits using a Java Script regular epression?
This is what I have tried and it is not working
var oneOrManyDigits = new RegExp("(\d+)");
and this one also does not work : new RegExp("(^\\d+$)");