How to search this kind of pattern in regex : <p><strong>This is the sample text I want to get the regex of the Match specified string that regex will qualify the Not match conditions</strong></p>

<blockquote>
  <p>1abc.def.ghi (Match)</p>
  
  <p>abc.111.ghi (Match)</p>
  
  <p>123.123.123.132.123.123 (Match)</p>
  
  <p>123.123.123.132.123.123.123.123.123.132.123.123.123.123.123.132.123.123(Match)</p>
  
  <p>123.123.123.132.123.<em>12335</em> (Not Match)</p>
  
  <p><em>7645</em>.123.111.887 (Not Match)</p>
</blockquote>
