I need a lightweight, easy and customizable (i can control which tags to be enabled/disabled) library to identify and replace "wiki-ish" markup language to HTML in Strings.
For example:
[b]he开发者_JAVA技巧llo[/b] would be <strong>hello</strong>
[url]hello[/url] would be <a href="hello">hello</a>
As MvanGeest mentioned, that specific markup looks like BBCode, in which case you can try something like kefir-bb
精彩评论