I believe a better option is to use wiki markup. You can try the Mylyn Wikitext package which I currently use with great success for our Documentation system.
However, this is not an answer to your problem, if what you try is to parse some forum text you already have automatically :-I