Alteryx Designer Desktop Discussions

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

Filtering string text in phone numbers

Simon1187
9 - Comet

Hi everyone, 

 

I hope you are well and safe! 

 

I would like to filter a column and find out phone numbers that contain string. Could you please help me with that. 

 

I have attached the excel file. 

 

Thanks, 

Simon 

2 REPLIES 2
hellyars
13 - Pulsar

@Simon1187 

 

Try this in a formula tool.  Then filter.  Is this what you meant?

 

Note:  It ignores the + symbol and any () embedded in a phone number (so long as there is no space \s),

 

 

 

iif(REGEX_Match([Phone Number],"(.*)?\s\D(.*)?"),"False","True")

 

 

 

Screen Shot 2021-05-04 at 9.23.57 PM.png

Simon1187
9 - Comet

Hi @hellyars

 

Thank very much. Yes that's what I want.

 

Thanks, 

Simon

Labels