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.” -Superman
______________________________________________________________________________________________1
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.
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
- 7.7K All Categories
- 3 Connect
- 919 Connectors
- 244 Workbench
- 477 Transform
- 1.8K Magic ETL
- 60 SQL DataFlows
- 446 Datasets
- 37 Visualize
- 198 Beast Mode
- 2K Charting
- 8 Variables
- 1 Automate
- 348 APIs & Domo Developer
- 82 Apps
- Workflows
- 14 Predict
- 3 Jupyter Workspaces
- 11 R & Python Tiles
- 241 Distribute
- 59 Domo Everywhere
- 241 Scheduled Reports
- 15 Manage
- 36 Governance & Security
- 27 Product Ideas
- 1.1K Ideas Exchange
- Community Forums
- 14 Getting Started
- 1 Community Member Introductions
- 49 Community News
- 18 Event Recordings
- 579 日本支部