title: Regex only match with set of numbers
body: <p>I have set of numbers have ID number here. Digit in center <code>-01-</code> must be match with <code>01,21,22,23,24,02</code>. Currently, it just accept whatever value as long it's 2 digit. It just need to accept these set of numbers <code>01,21,22,23,24,02</code>. Any idea?</p>
  
  <pre><code>[0-9]{2}(([0-0]{1}[1-9]{1})|([1-1]{1}[0-2]{1}))(([0-0]{1}[1-9]{1})|([1-2]{1}[0-9]{1})|[3-3]{1}[0-1]{1})-[01|21|23|24|01]{2}-[0-9]{4}
  </code></pre>
  
  <p>ID format</p>
  
  <pre><code>880101-01-5332
  </code></pre>
  
  <p>Here is link for my sample regex: <a href="https://regex101.com/r/GYJ6by/2" rel="nofollow noreferrer">https://regex101.com/r/GYJ6by/2</a></p>