title: Introducing html tags into string
body: <p>I have a string which looks something like this:</p>
  
  <pre><code>some text [different text]
  </code></pre>
  
  <p>Using C# is it possible to insert some html tags so that resulting string would be</p>
  
  <pre><code>some text [&lt;b&gt;different text&lt;/b&gt;]
  </code></pre>
  
  <p>It would have to cope with instances where there are no square brackets.</p>