How do I search text for a certain peice of text,

I want to do a bbcode thing, so it takes bbcode and makes it into text with all the formatting, so I want it to be able to find 2 things, e.g. [/b] and [//b] and ignore the text inbetween, e.g. [/b]Hi[//b]

I want it to find the [/b] and the [//b] and the output to make Hi bold,

Is this possible in VB? and if so, how would I do it?

Ignore the extra slash, it was making the text bold