In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

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

Regex to parse out text from last parentheses

SurferJim
7 - Meteor

Hi, Thank you in advance for your help. 

 

In the example below, the data may have multiple parenthesis and I would like to break them out into 2 columns where the last column is always the last parenthesis.

 

TitleRegexOut1RegexOut2
Title 1 (A)Title 1(A)
Title 2 (B) (C)Title 2 (B)(C)
Title 3 (D) (E) (F)Title 3 (D) (E)(F)
2 REPLIES 2
AngelosPachis
16 - Nebula

Hi @SurferJim ,

 

Can you try 

 

(.*)\s(.*)

 

AngelosPachis_0-1637532754186.png

 

SurferJim
7 - Meteor

Hi @AngelosPachis ,

Thank you but your solution only works partially in my real data.  I ended up looking for the pattern and insert a | delimiter.  Then I use Text to Column to separate out the string.

 

SurferJim_0-1637533633174.png

 

SurferJim_1-1637533703053.png

 

 

Labels
Top Solution Authors