Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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