Find string between 2 known values in textbox in C# WinForms application
<p><strong>Example:</strong> I want to find 1234 in a string named target:</p>

<pre><code>string target = "55555&gt;&gt;&gt;&lt;&lt;[1234]&lt;&gt;&gt;&gt;788";
</code></pre>

<p>How can I find the number between [,] without knowing how much digits between [], before[ or after ]?  I need a small code for my project.</p>

<p>Thanks.</p>
