bbcode is a C++ library that provides full support for Board Bulletin Codes (bbcode). bbcode library is designed to support C/C++ users and is the onlye stable xplatform GNU lib. Using bbcodelib would save a valuable time.
Unlike many many other regular expression libraries this is a real parser. It uses finite state machines (FSMs) and should produce fast and accurate results.