Simple BBCode To HTML Function In PHP

January 22, 2007

While working on a “secret” project I needed a simple BBCode to HTML converter. I’m sure there are a number of them out there, but I wanted to build my own. Here it is, a quick and dirty regex filled function.

In other news this is post #99 since I started the blog. Here’s to hoping #100 is stellar.

Update (01/23/07)
I just realized that PHP lets you use arrays in preg_replace, so a ‘better’ version would be…
Categories: Geek
Tags: , ,


  1. […] big releases in just a few days! First there was BlowPass 0.60 and now my “secret project” is […]

Leave A Comment

Your email will not be published.