title: Looking for regex exception to match non TLD domain in DNS request
body: <p>This is my list of domain need to filter with regex :</p>
  
  <pre><code>/([a-zA-Z0-9.][^])/g
  </code></pre>
  
  <p>It matches all character without exceptions. I want to filter characters without .com, .net or any TLDs, so the regex works like this:</p>
  
  <pre><code>zjpsmsmnijda --&gt;match
  zjpsmsmnijd01828282 --&gt;match
  zjpsmsmnijd.com --&gt;not match
  zjpsmsmnijd.net --&gt;not match
  hadjhajdhjdjad.com --&gt;not match
  jjsjsjjsjjs.com --&gt;not match
  qhwnnajskkalls.org --&gt;not match
  qhwnnajskkalls.net.in --&gt;not match
  qhwnnajskkalls.co.in --&gt;not match
  qhwnnajskkalls.ly --&gt;not match
  SHEYEKSISKKISIM --&gt;match
  SAHSJJASHASH1212937888 --&gt;match
  ABCHHSHHAJJSJJS.COM --&gt;not match
  HSHHJASJHSJHJSH.NET --&gt;not match
  hasjjashajshajshas.com --&gt; not match
  hsahsjahsjashjashja --&gt;match
  hshhhhsahsjahsjahsjashajshasjhssajh --&gt;match
  </code></pre>