We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

extract nubers before string

ohruud
7 - Meteor

Hi there, 

 

I am not particularly good with regex, and I need som help. 

In my data, I have a field comprised with both numbers and string. I want to extract the number (including the space between the numbers, and get rid of the other characters. 

 

This is the format of the field:


"222 57 03 00 Institute for economics, marketing and law"

 

Any help ? 🙂

 

Best regards

1 REPLY 1
ohruud
7 - Meteor

Managed it my self.  Used REGEX_Replace([Field],"[^\d\s]","")

 

Labels
Top Solution Authors