On May 25, 6:24 am, Terence <terence.par...@gmail.com> wrote:
> I've been puzzling over something for ages and now give up:
>
> Does anyone see any problem with any of the following:
>
> $line = preg_replace('/\[#([A-Fa-z0-9]{1,6})\]/i', "<font color='#
> ${1}'>", $line);