title: C# Regex help getting multiple values
body: <p>Needing a bit help getting multiple values from a string using Regex. I am fine getting single values from the string but not multiple.</p>
  
  <p>I have this string:</p>
  
  <pre><code>[message:USERPIN]Message to send to the user
  </code></pre>
  
  <p>I need to extract both the USERPIN and the message. I know how to get the pin: </p>
  
  <pre><code> Match sendMessage = Regex.Match(message, "\\[message:[A-Z1-9]{5}\\]");
  </code></pre>
  
  <p>Just not sure how to get both of the values at the same time.</p>
  
  <p>Thanks for any help.</p>