Use eregi_replace to match the text between the @ and the "." and replace it with the text you want. You'll have to use pattern matching which can be tricky, but its more than possible.
Jules... http://nl.php.net/manual/en/function.eregi-replace.php "Louie Miranda" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What command in php? can i convert certain text ex the > [EMAIL PROTECTED] to [EMAIL PROTECTED] > > -- > Louie Miranda > http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php