BBCode like setup on richtextbox
<p>I am trying to parse a BBCode that I am designing for a richtextbox on my C# program.  I am kind of lost how I can do this though.  It is not HTML, it is using the </p>

<pre><code>using System.Windows.Forms;
</code></pre>

<p>How can I replace only part of the text inside of this textfield with bold/italic/underline/colored?  I am not trying to get too fancy with the bbcode, just want to be able to do those 4 things.  Here is an example of the regular expression I was going to use:</p>

<pre><code>/\[b\](.*?)\[\/b\]/is
</code></pre>

<p>Thanks for any pointers :)</p>
