title: How do I replace unknown characters in a string? Wildcard?
body: <p>I have a string .. let's say:</p>
  
  <pre><code>string MyString = "SELECT Stuff FROM Table WHERE Code = "Foo" AND DATE=20120101";
  </code></pre>
  
  <p>I want to replace <code>20120101</code> with a <code>?</code>. But, the <code>20120101</code> string I search for won't always be the same. It will always start with a <code>2</code>, and always contain 8 characters. It may be 20121225, 20130510, etc. </p>
  
  <p>Can I use wildcards somehow? As in:</p>
  
  <pre><code>string Fixed = MyString.Replace("2*******", "?");
  </code></pre>
  
  <p>What I'm looking for is this result:</p>
  
  <pre><code>MyString = "SELECT Stuff FROM Table WHERE Code = "Foo" AND DATE=?";
  </code></pre>