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

Trumpetbob42
Domo Employee
in Magic ETL
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!
Trumpetbob42
**Say “Thanks” by clicking the “heart” in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"
**Say “Thanks” by clicking the “heart” in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"
0
Best Answer
-
You can also use the "Split Columns" tile to accomplish this:
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman1
Answers
-
You can also use the "Split Columns" tile to accomplish this:
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman1 -
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.
Trumpetbob42
**Say “Thanks” by clicking the “heart” in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0
Categories
- All Categories
- 1.2K Product Ideas
- 1.2K Ideas Exchange
- 1.3K Connect
- 1K Connectors
- 271 Workbench
- Cloud Amplifier
- 3 Federated
- 2.6K Transform
- 78 SQL DataFlows
- 524 Datasets
- 2K Magic ETL
- 2.9K Visualize
- 2.2K Charting
- 433 Beast Mode
- 22 Variables
- 508 Automate
- 114 Apps
- 386 APIs & Domo Developer
- 8 Workflows
- 26 Predict
- 10 Jupyter Workspaces
- 16 R & Python Tiles
- 331 Distribute
- 76 Domo Everywhere
- 255 Scheduled Reports
- 65 Manage
- 65 Governance & Security
- 1 Product Release Questions
- Community Forums
- 40 Getting Started
- 26 Community Member Introductions
- 67 Community Announcements
- 4.8K Archive