Find a pattern into a string without space : <p>I'm looking for a way to find and extract the string matching a pattern in a string without a space :</p>

<pre><code>string regexpattern = @"[A-Z]{4}\d{4}$";                    // ex : BERF4787            
string stringWithoutSpace = "stringsampleBERF4787withpattern";

string stringMatchPattern = ???         //I want to get BEFR4787 in this variable
</code></pre>
