title: How to find a number in a string using JavaScript?
body: <p>Suppose I have a string like - "you can enter maximum 500 choices".
  I need to extract <code>500</code> from the string.</p>
  
  <p>The main problem is the String may vary like "you can enter maximum 12500 choices".
  So how to get the integer part?</p>