title: Filter array containing only specific word
body: <p>I have a list of array. I want to get the items that start with "tar" and number followed by it</p>
  
  <pre><code>var array = ["dataseqno", "yrsno", "tar01", "tar02", "tar03", "tar04", "tar05", "tar06", "tar07", "tar08", "tar09", "tar10", "tar11", "tar12", "status"]
  </code></pre>
  
  <p>I will do the loop to this array and check using regex. This is the regex I have tried. But I couldnot solve number followed by 'tar'.</p>
  
  <pre><code>.match(/^tar+\[0-9]/)
  </code></pre>