PHP BBCode Generator

I was looking through my old code the other day and found my BBCode to HTML generator. If only I could get my Python BBCode generator to work this well!

BBCode Class
BBCode Usage Example (Source Code)
BBCode Usage Example (Live)

And there you have it. It’s super easy to use, so my usage example is all you should need. If I ever get my Python version working this well, I’ll post it. However, I’m making it parse Wiki code as well as BBCode, so that doesn’t help. I used to think PHP Regular expressions were hard!

Leave a Reply