You can better do it this way to keep up the consistency with Vb, in this case it doesn't matter if html is turned on or off:
Code:
$messagetext = eregi_replace("([_a-z0-9-]+(\.[_a-z0-9-]+)*)@([a-z0-9-]+(\.[a-z0-9-]+)*)","[_email]\\1@\\3[/_email]",$messagetext);
untested but I think it'll work
NB: Replace
_email with
email (twice)
[Edited by Mas*Mind on 09-07-2000 at 01:09 PM]