I haven\'t used regular expressions at all, so I\'m having difficulty troubleshooting. I want the regex to match only when the contained string is all numbers; but with the
console.log(/^(0|[1-9][0-9]*)$/.test(3000)) // true