How to filter a Combo box matching string pattern c#
<p>my Combo box contains values like DBaaaaa, DBbbbbb, Dbccccc, FBaaaaa, FBcccc which is coming from database. i want when user select a value from the combo box it should match the Prefix("DB","FB") and length of the selected value. and it must filter the combo box according to the matching pattern.</p>

<pre><code>Regex filter = new Regex("^[a-zA-z][a-zA-z][a-zA-Z0-9]*");
</code></pre>

<p>for example if user selected DBaaaaa. now combo box should contain all values starting From "DB" and its matching length. where like DBbbbbb, Dbccccc.</p>

<p>if i simply say its kind of filtering data if there are thousands of records in Database.</p>
