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

Parsing numbers and alphanumeric values from blocks of text

wonka1234
10 - Fireball

Hi,

 

how can i parse or text to columns this dataset so i can extract numbers ie "1" and Alphanumeric ie "2b" out of this?

 

Thanks.

 

 

2 REPLIES 2
Felipe_Ribeir0
16 - Nebula

Hi @wonka1234 

 

Try 

 

regex_replace([Data], '^(.*?)\s{2,}.*', '$1')

 

 

 

extraction.png

Felipe_Ribeir0
16 - Nebula

@wonka1234 

 

If by extract you mean keep just the rest of the text:

Screenshot 2023-08-28 144030.png

 

Labels
Top Solution Authors