title: Regular expression for matching a list of numbers
body: <p>I have a list of valid numbes which looks like this:</p>
  
  <pre><code>50, 56, 62, 68, 74, 80, 86, 92, 98, 104, 110, 116, 122, 128, 134, 140, 146, 152, 158
  </code></pre>
  
  <p>I need an regular expression which allows every number in this list, but nothing else. This regex is used to validate a HTML5 input control. A few examples for clarification:</p>
  
  <pre><code>50 =&gt; true
  150 =&gt; false
  abc =&gt; false
  51 =&gt; false
  110 =&gt; true
  11 =&gt; false
  50, 56 =&gt; false
  </code></pre>
  
  <p>I have tried this expression, but the problem is that numbers like 156 and 150 also get matched.</p>
  
  <pre><code>50|56|62|68|74|80|86|92|98|104|110|116|122|128|134|140|146|152|158
  </code></pre>
  
  <p>Can anyone help me out?</p>