title: Regular Expression to identify a Guid followed by a number
body: <p>I have a Regular Expression that will identify Guid's.</p>
  
  <pre><code>string pattern = @"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"
  </code></pre>
  
  <p>And I have a Regular Expression that will identify numbers </p>
  
  <pre><code>string pattern = "^[0-9]+$"
  </code></pre>
  
  <p>I need to combine these two Regular Expression.
  My task is to identify following type of string from a sentence.</p>
  
  <pre><code>  Input : id=1 name=4a3779ab-56cc-41b5-ac7c-03bbf673439c-53607.jpg count=53607
    Output : 4a3779ab-56cc-41b5-ac7c-03bbf673439c-53607.jpg 
     or just 4a3779ab-56cc-41b5-ac7c-03bbf673439c-53607
  </code></pre>
  
  <p>Output is a Guid followed by a dash('-') and a number. </p>
  
  <p>How can I get this kind of Regular Expression?</p>