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

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