title: Regex: Match exact numbers in large set
body: <p>Given a huge list (over a thousand entry of random numbers from 00001 to 60031) what's the best way to match every single numbers and only those numbers. </p>
  
  <p>A sample of the list <code>00001,00002,00003,00004,00006,00010,00016,00030,00039,00177,00187,00219,00239,00240,00241,00242,00245,00248,00250,00258,00260,....,20065,20069,20070,...,27005,27007,28006,29000,29400,30100,......</code></p>
  
  <p>I know I could brute force it with a super long | statements and maybe a few tricks like range <code>0000[1-6]</code> but is there anything smarter? Yes I'm aware I could stick it in a script like python or like a database and match it accordingly but I have to do this in regex since the system is built that way.</p>
  
  <p>What I have so far: <code>(0000[1-46])|0001[06]|0003[09]|001[78]7|002[136]9|0024[0-58]|....</code> </p>