hey, I have the following preg_replace function found on php.net
$str = "Email me: [email]matt@blahblah.com[/email]";
$str = preg_replace('#(.*)\@(.*)\.(.*)#','<a href="mailto:\\1@\\2.\\3">\\1@\\2.\\3</a>',$str);
echo $str;
the above code hyperlinks the whole sentance! so it looks like
<a href='mailto:Email me: matt@blahblah.com'>Email me: matt@blahblah.com</a>
any ideas what's up - I have tried a few things and they've not worked...
thanks for any info