Regular Expressions match any string between [ and ]
<p>I want to match any string between [ and ]. Following code working fine but i want to output with out this symbol [ ]</p>

<p>my code:</p>

<pre><code>    string strValue = "{test}dfdgf[sms]";// i want to sms

    private void Form1_Load(object sender, EventArgs e)
    {
        Match mtch = Regex.Match(strValue, @"\[((\s*?.*?)*?)\]");
        if (mtch.Success)
        {
            MessageBox.Show(mtch.Value);
        }
    }
</code></pre>
