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 Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Parsing digit from a sentence

amitsingh88
8 - Asteroid

Hi,

 

I want to extract only number from the string, I tried like this but not getting whole number like in first example I want to get 12342 but getting only 12.

 

amitsingh88_0-1627512283055.png

 Please suggest the method.

 

Thanks

 

Amit

2 REPLIES 2

Hi @amitsingh88 

 

Other than Regex, you can use Data cleansing to get rid of letters and punctuation. Please see below.

 

christine_assaad_0-1627512888282.png

 

If you need to use Regex, you may try the below as well. Hope this helps. Cheers!

 

christine_assaad_1-1627513111043.png

 

Labels
Top Solution Authors