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 after December 31, 2025. 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.
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