2007-03-21, 08:54 PM
I've opened one of the php files to do some editing and I was wondering how I would go about parsing the contents of a variable and apply any mybb code found. Anyone know an easy way to do this... perhaps a function? Also, how would I go about striping the data of mybb code as well?
I tried:
I think i've figured my problem out. You can ignore this topic now. =)
I tried:
preg_replace("/\[(.*?)\](.*?)\[\/(.*?)\]/s","$2",$message);
but its still show some of the bb codeI think i've figured my problem out. You can ignore this topic now. =)