C# Ending Regex statement
<p>I have this code</p>

<pre><code>Regex.Match(contents, @"Security=(?&lt;Security&gt;\D+)").Groups["Security"].Value;
</code></pre>

<p>this makes the following:</p>

<blockquote>
  <p>Security=SSPI;Database=Datab_ob  </p>
</blockquote>

<p>How do I make the Regex cut off at ; so i would only get Security=SSPI</p>
