Andrey Hristov wrote: > Something like this. > $your_string = preg_replace('/[\d\w]+@([\w\d]{3,}\.)+([\w]{2,4})/','', > $your_string); > > HTH > > Best regards, > Andrey Hristov
Thank you very much for your time, but this strips the e-mail address and lives the domain. Could you give me some hints on how to make it working the opposite way? Regards, Michal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php