In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Extract data on the right-most delimiter

overhead_press
8 - Asteroid

I have a bunch of data in rows with the "|" delimiter and I want to extract the data at the end. How would I go about doing this? Thanks in advance! 

 

Example:

 

Column 1

one|two|three

four|five

six|seven|eight|nine

 

Results:

 

Column 1
Three
five
nine
8 REPLIES 8
atcodedog05
22 - Nova
22 - Nova

Hi @overhead_press 

 

You can use Regex tool parse mode like this.

 

Workflow:

atcodedog05_0-1641576315226.png

 

Hope this helps : )

 

overhead_press
8 - Asteroid

Thank you so much! What would the expression look like if I want the left-most value? 

binu_acs
21 - Polaris
atcodedog05
22 - Nova
22 - Nova

Hi @overhead_press 

 

Expression would be for Left most

 

 

([^|]+)\|.*

 

 

Hope this helps : )

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @overhead_press 

Cheers and have a nice day!

binu_acs
21 - Polaris

@overhead_press another method using substring formula to find the left most word

 

binuacs_0-1641577651901.png

 

overhead_press
8 - Asteroid

My apologies I have one final question, for reference what if I want the second value from the left? 

atcodedog05
22 - Nova
22 - Nova

Hi @overhead_press 

 

Here is the Regex

[^|]+\|([^|]+)\|?.*

 

Hope this helps : )

 

Labels
Top Solution Authors