title: regex detect word with 2+ number and 2+ character
body: <p>I need one regular expression for detect words with length 8 characters that contain 2+ numbers and 2+ characters (no special characters ).</p>
  
  <p>I am near the solution and I did the regex on <a href="https://regex101.com/r/z33bUv/6" rel="nofollow noreferrer">regex101.com</a> .</p>
  
  <p>The problem are the words that contains one number that not should be releveant for my regex.</p>
  
  <p>I discarded all words with characters that contain min 7 characters with <code>(?![A-Za-z]{7,})</code> .</p>
  
  <p>I discarded all words with numbersthat contain min 7 numbers with <code>(?![\d]{7,})</code> .</p>
  
  <p>And I discarded the words that contain min 2 numbers and 2 characters <code>(?=[a-zA-Z\d]{2})[A-Za-z\d]{8}</code>.</p>
  
  <p>Why <code>vaff8loe</code> is matched?</p>
  
  <p>I created this regular expression because after I hae to replace the entire word with ******* .
  Like:</p>
  
  <pre><code>papave23 ciao il mio pin papaver1 è reeredji332ji con vaff8loe 1234567o 123t123t papavero 9o 123t123y
  </code></pre>
  
  <p>After with replace("regex","********")</p>
  
  <pre><code>********ciao il mio pin papaver1 è reeredji332ji con ******** 1234567o ******** papavero 9o ********
  </code></pre>