$replace = array ('/(\[[Bb]\])(.+)(\[\/[Bb]\])/',
'/(\[url=)(.+)(\])(.+)(\[\/url\])/',
'/(\[[CODE]\])(.+)(\[\/[CODE]\])/',
'/(\[FONT=)(.+)(\])(.+)(\[\/FONT\])/',
'/(\[[Uu]\])(.+)(\[\/[Uu]\])/',
'/(\[[marquee]\])(.+)(\[\/[marquee]\])/'
);
$replacements = array ('<b>\\2</b>',
'<a href="\\2" target="_blank">\\4</a>',
'<table width=80% class="CDCode">
<tr>
<td.><div align=left class=style1>Code:</div></td>
</tr>
<tr>
<td><font color=orange>\\2</font></td>
</tr>
</table>',
'<font color="\\2">\\4</font>',
'<U>\\2</U>',
'<marquee>\\2</marquee>',
);
the problems lye with CODE and MARQUEE... there not working... plz help.... They work as ONE letter but i dont want one letterers.
