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 part of a long string

Alteryx_rookie
5 - Atom

Hi, 

I'm trying to extract part of a string.

The data in the string i something like this:

Name=Tony#Adress=Road#ABC=#Phone=123456789#

 

How do I extract the phonenumer? Some on the list dosent include a phonenumber and in those cases the number would just be blank like this #phone=#, so the extraction formula should take into account that some of them might not have a phonenumber.

 

What should the regex formula look like?

1 REPLY 1
patrick_digan
17 - Castor
17 - Castor

@Alteryx_rookie Something like this in the regex tool worked for me:

 

#Phone=(.*)#

 

patrick_digan_0-1640032488546.png

 

Labels
Top Solution Authors