BBCode to HTML

BBCode ("Bulletin Board Code") is a lightweight markup language used to format messages in much Internet forum software, first introduced in 1998. The available "tags" of BBCode are usually indicated by square brackets ( [ and ] ) surrounding a keyword, and are parsed before being translated into HTML.