Use Magic ETL to isolate the domain of an email address (company.com).

I am trying to use Magic to isolate the domain of an email address [email protected] to just company.com. I am open to any way to do it in Magic. So far the only thing I have found is Regex, but when I put it in, nothing seems to happen. 

I am using /.+@/

This seems to work fine in my tests on https://regex101.com/

 

Thanks!

Best Answer

Answers

  • I also found that this would work with the RegEx. As well as the accepted solution. 

    Then select replace with empty string in the configuration wheel.