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
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 473 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 478 Datasets
- 209 Visualize
- 257 Beast Mode
- 2.1K Charting
- 12 Variables
- 18 Automate
- 355 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 183 Product Ideas
- 1.2K Ideas Exchange
- 11 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive