| Ahhh! I had a total brain fart....I finally figured out what you meant!
Os if you want to leave the username part alone, just split it at the "@" and do the replace on the rest...
<?
$fullEmail="foo.bar@foobar.com";
$tempArray=split("@",$fullEmail);
$maskedEmail=$tempArray[0] . " AT " . str_replace("."," DOT ",$tempArray[1]);
?>
Bryan |