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. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

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