title: Match multiple patterns with a Regex
body: <p>I have 3 groups : time, date and pin. And i can have this line to match this lines :</p>
  
  <blockquote>
    <p>26/06/2012 33:06:12a_user_logged_in,3412234,2,3,512,3
    33:06:12a_user_logged_in,3412234,2,3,512,3,26/06/2012
    26/06/2012 a_user_logged_in_at,33:06:12,3412234,2,3,512,3</p>
  </blockquote>
  
  <p>I want to match <code>26/06/2012</code> as the <code>date</code> group, <code>33:06:12</code> as the <code>time</code> and <code>3412234</code> as the <code>pin</code> group.</p>
  
  <p>I've succeeded in doing so but only the line must be in a certain pattern like the first one </p>
  
  <pre><code>(?&lt;date&gt;[\d]+/[\d]+/[\d]+) (?&lt;time&gt;[\d]+:[\d]+:[\d]+)([ |,][a-zA-z]*)+,(?&lt;pin&gt;[\d]{4,10}).+ 
  </code></pre>
  
  <p>But when i apply this pattern to the other two lines forms, it didn't match.</p>
  
  <p>My question is, how to match time, date and pin groups no matter what was the line form ?</p>