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
In reply to Re: email regex
by Abigail-II
in thread email regex
by bodmin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |