Numbers regex for stripping domain from email address I have a field that contains email addresses, I want to use regex to strip everything before the @ symbol to give me just the domain e.g.

john@apple.com =&gt; apple.com
jill@apple.com =&gt; apple.com


How can I do this will a simple function?
Without regex, you can use this:

if A1 contains 'foo@sample.com' then in B1 you can place the following formula:

=RIGHT(A1;LEN(A1)-FIND("@";A1))