Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

extract text from a string that is between _ (underscore)

Neffri
8 - Asteroid

Hello,
I'd like to separate the text which is between two  underscores.
For example:
Manager Review and Revocation_CYBERSECURITY & TECH CONTROLS_

I want to get CYBERSECURITY & TECH CONTROLS.

I've tried to use Text to column, but do you know if there is  a better way to do it?

Any suggestions?

 

2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @Neffri 

 

You can use Regex tool parse mode and regex formula below to extract it.

 

_(.*)_

 

 

In the formula it captures everything between brackets

 

Workflow:

atcodedog05_0-1620993623867.png

 

Hope this helps 🙂

 

atcodedog05
22 - Nova
22 - Nova
Labels