title: How can I use lookbehind in a C# Regex in order to skip matches of repeated prefix patterns?
body: <p>How can I use lookbehind in a C# Regex in order to skip matches of repeated prefix patterns?</p>
  
  <p>Example - I'm trying to have the expression match all the <code>b</code> characters following any number of <code>a</code> characters:</p>
  
  <pre><code>Regex expression = new Regex("(?&lt;=a).*");
  
  foreach (Match result in expression.Matches("aaabbbb"))
    MessageBox.Show(result.Value);
  </code></pre>
  
  <p>returns <code>aabbbb</code>, the lookbehind matching only an <code>a</code>. How can I make it so that it would match all the <code>a</code>s in the beginning?</p>
  
  <p>I've tried</p>
  
  <pre><code>Regex expression = new Regex("(?&lt;=a+).*");
  </code></pre>
  
  <p>and</p>
  
  <pre><code>Regex expression = new Regex("(?&lt;=a)+.*");
  </code></pre>
  
  <p>with no results...</p>
  
  <p>What I'm expecting is <code>bbbb</code>.</p>