So far i have
$str = eregi_replace('\[quote=([^]]+)\]([^\+)\[/quote\]', '<b>\\1 says:</b> <br /><table cellspacing="0" cellpadding="3" style="border: 1 solid; border-color: #cccccc; background-color: #ffffff;"><tr><td>\\2</td></tr></table>', $str);
this works if you are quoting someone who hasn't quoted someone in their message.
If i wanted to quote someone who already used the [quote] tag in their message, it doesn't do it right.
What i was hoping to do with the regular expression is instead of this line
which is take any character OTHER than left bracket [
i want it to say take any character OTHER than [quote
but i don't know how to do this
obviously i have tried
that doesn't work
i don't know regular expressions very well, can anyone inform me?