Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Alteryx Delimiter -

Jwwwson
8 - Asteroid

Hi, 

 

May I ask is there a simply way to separate a column, so that I can get column with only number in "ID" column? There are few types of data, as shown below. Thanks!

 

 

IDName 
USA-12345John 
HKG-23456Peter
HK12345Mary
USA34567Henry

 

Cheers, 

Jason

 

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus

@Jwwwson ,

 

using the data cleanse tool, you can remove letters and punctuation.  

I like regular expressions.  

Regex_Replace([ID],"\D","")

 

 that will erase any non-digits. 

cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Jwwwson
8 - Asteroid

Hi @MarqueeCrew 

 

Thanks a lot!

 

Cheers, 

Jason

Labels