title: How to make regex that accepts string which contains 0-9 minimum 2 times and might contain "%" & "*" and character can be in any position?
body: <h2>Eg of Strings</h2>
  <p><strong>Valid</strong></p>
  <ol>
  <li><code>12</code></li>
  <li><code>%23</code></li>
  <li><code>78%</code></li>
  <li><code>12***3</code></li>
  <li><code>*1*7</code></li>
  </ol>
  <p><strong>Invalid</strong></p>
  <ol>
  <li><code>8</code></li>
  <li><code>*7</code></li>
  <li><code>6%</code></li>
  <li><code>AB</code></li>
  <li><code>%4*</code></li>
  </ol>
  <p>I have tried many regexes but none of them worked for all cases.</p>
  <p>The most closet result found for the regex was <code>^([*%]*[0-9]{2,}[*%\d]*)$</code>.</p>
  <p>If anyone can help me build this regex it would be helpful. Thank you so much :)</p>