Trust me, there is no information on the web on how to do it with a rich text box. I've been working on it for over 2 years now, but finally getting some progress now. You just have to find a way to find the escape, the [, the code and the m and go from there, it's hard as heck and I have never found a resource on it.

Good Luck