title: The simple regex expression [0-9]* does not work with {e|24} in C#
body: <p>I've been working on my own simple Wikipedia parser in C#. So far I'm not getting very far because of this problem.</p>
  
  <p>I extract the string <code>{e|24}</code> but it could contain any number. All I want to do is simply extract the number from this string.</p>
  
  <p>This is the code I am using currently:</p>
  
  <pre><code>Match num = Regex.Match(exp.Value, "[0-9]*");
  Console.WriteLine(num.Value);
  </code></pre>
  
  <p>However <code>num.Value</code> is blank.</p>
  
  <p>Can someone please explain why this is not working and how I can fix it?</p>