Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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