title: find & delete with regex
body: <p>how to match then delete files with regex through commandline?</p>
  
  <p>matched files have 4 digits then .tmp eg</p>
  
  <pre><code>something0001.tmp
  something-else-0090.tmp
  something-6548.tmp
  </code></pre>
  
  <p>but not</p>
  
  <pre><code>something001.tmp
  somethingelse99.tmp
  </code></pre>
  
  <p>tried various versions of</p>
  
  <pre><code>find . -type f -regex '.*\d{4}.tmp' -exec rm -rf {} \;
  </code></pre>
  
  <p>RegExr testing ok for matches, but ssh syntax is eluding me and am sure the regex is at fault.</p>