Ok I have looked on a number of links regarding how to validate an input string whether it is a number and within certain range but seems like I am not understanding it clearly.
Can somebody explain me in an easy manner, considering me a novice, how using JavaScript's Regular Expressions I can validate an input string if it is a number and between the range of 1 to 5000. Input string cannot be empty and 0.
Please do explain your RegExp magic pattern.