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. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

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
Top Solution Authors