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

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