It's hard to explain so i'll provide an example:

If someone types "/me says hello" in a textbox, how can i parse this (using preg_replace) so that it will be displayed as:

<font color="red">* da_silvy says hello</font>

In a shoutbox?

Can someone please tell me the code for this