in reply to email regex
s/\@domain\.com$//;
However, if your question really is, "how do I remove the domain name from an email address using a regexp", then the answer is "you don't". Email addresses can be very complex, and you are better off parsing them.
Abigail
|
|---|