title: Is there a common .NET regex that can be used to match the following numbers?
body: <p>I would like to match the numbers <code>123456789</code> and <code>012</code> using only one regex in the following strings.  I am not sure how to handle all the following scenarios with a single regex:</p>
  
  <pre><code>&lt;one&gt;&lt;num&gt;123456789&lt;/num&gt;&lt;code&gt;012&lt;/code&gt;&lt;/one&gt;
  
  &lt;two&gt;&lt;code&gt;012&lt;/code&gt;&lt;num&gt;123456789&lt;/num&gt;&lt;/two&gt;
  
  &lt;three num="123456789" code="012" /&gt;
  
  &lt;four code="012" num="123456789" /&gt;
  
  &lt;five code="012"&gt;&lt;num&gt;123456789&lt;/num&gt;&lt;/five&gt;
  
  &lt;six num="123456789"&gt;&lt;code&gt;012&lt;/code&gt;&lt;/six&gt;
  </code></pre>
  
  <p>They also don't have to be on the same line like above, for example:</p>
  
  <pre><code>&lt;seven&gt;
  &lt;num&gt;123456789&lt;/num&gt;
  &lt;code&gt;012&lt;/code&gt;
  &lt;/seven&gt;
  </code></pre>