BBCode parser for the BBPhone application