Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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