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

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