On Wed, 24 Apr 2002, Evan Nemerson wrote: > ereg("([_a-zA-Z\-]+|\*)\@[\.a-zA-Z\-]+\.com",$variable); > should work, but test it. I'm not 100% the wildcard part will work.
An internet domain name cannot contain an underscore ( _ ). ...and a whole lot of them don't end in .com! miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php