title: regular expression to match exactly 5 digits
body: <pre><code>testing= testing.match(/(\d{5})/g);
  </code></pre>
  
  <p>I'm reading a full html into variable. From the variable, want to grab out all numbers with the pattern of exactly 5 digits. No need to care of whether before/after this digit having other type of words. Just want to make sure whatever that is 5 digit numbers been grabbed out.</p>
  
  <p>However, when I apply it, it not only pull out number with exactly 5 digit, number with more than 5 digits also retrieved...</p>
  
  <p>I had tried putting <code>^</code> in front and <code>$</code> behind, but it making result come out as null.</p>