Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

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
Top Solution Authors