title: Regex filter needed for tms_raw.YYYMMDDHHMMSS.out
body: <p>I have created a pattern:</p>
  
  <p><code>^(\W|^)tms_raw\.([0-9]{4})(-?)(1[0-2]|0[1-9])\2(3[01]|0[1-9]|[12][0-9])([0-2]{1})([0-3]{1}([0-5]{1})([0-9]{1})([0-5]{1})([0-9]{1}))(\.out)(\W|$)</code></p>
  
  <p>This tries to capture, <code>tms_raw.YYYYMMDDHHMMSS.out</code> string</p>
  
  <p>background on, how did I create this pattern?</p>
  
  <pre><code>for matching YYYYMMDDHHMMSS        ^([0-9]{4})(-?)(1[0-2]|0[1-9])\2(3[01]|0[1-9]|[12][0-9])([0-2]{1})([0-3]{1}([0-5]{1})([0-9]{1})([0-5]{1})([0-9]{1}))$
  
  for matching tms_raw.              ^(\W|^)tms_raw\.(\W|$)
  
  for matching .out                  ^(\W|^)\.out(\W|$)
  </code></pre>
  
  <p>The pattern I have created does not capture, tms_raw.YYYYMMDDHHMMSS.out.
  How can I combine the regex, I have made for matching individual elements, for matching something like <code>tms_raw.20080108235952.out</code></p>