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

Only including data after a certain character appears in the Data

NRD
8 - Asteroid

Hello,

 

I have a dataset that looks like the below:

 

John Smith (RC12345)

 

I want to create a new column with only RC12345 from the data above.

 

How would I go about doing this?

2 REPLIES 2
T_Willins
14 - Magnetar
14 - Magnetar

Hi @NRD,

 

You can use a RegEx parse to do this with the following expression:  .*?\((.*?)\)

.*?   all characters until

\(     open parenthesis - the \ (escape) is required as ( is a Perl special character and the \ is required to indicate find the character and not use it as a special character

(.*?)   return all following characters until

\)    close parenthesis - same escape required as above

 

RegEx Parse.png

 

NRD
8 - Asteroid

@T_Willins Thank you very much, this works!

Labels
Top Solution Authors