title: regular expression for csv numbers from 1 to 1000
body: <p>I need a regex that can match a string of numbers from 1 to 1000 separated by commas.</p>
  
  <blockquote>
    <p>eg : 12,56,100,190,900,1000</p>
  </blockquote>
  
  <p>I am using javascript on the front end and php on the back end for validation.  Ideally, I need a common regex, which will work for both.</p>