Tommy Boy
03-24-2005, 05:27 AM
I'd like to automatically change certain words once the user posts a new message, but I don't want them to be changed inside bbcodes. For example: I want the word "vbulletin" to be changed to "vBulletin", but "[url=http://www.vbulletin.com]" should remain as is.
Basically, I need an "str_replace()" replacement that ignores strings inside brackets.
Basically, I need an "str_replace()" replacement that ignores strings inside brackets.