BBCode to HTML function help

Whether BBCode is intended to support nested tags of not seems irrelevent. Given predictable strings (in this case, BBCode strings), why doesn’t the OP’s code turn them into HTML styles? Seems like one of the regex’s might not be working as intended but that’s just a guess from an onlooker.

1 Like