ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. 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

RegeX for telephone numbers

Meena
8 - Asteroid

Hi,

 

I have the below list of telephone numbers to be validated - the string is allowed to contain spaces or + or () but no alphabets.

 

Please can you suggest how to get it done.

 

Phone#Result
A123Invalid
1234567Valid
1234 5678Valid
+12345Valid
(0) 1234Valid
3456HInvalid
123-456Valid

 

Thanks

Meena

2 REPLIES 2
bpatel
Alteryx Alumni (Retired)

hi @Meena ,

 

you can use the data cleansing tool and select to remove letters.

 

 

bpatel_1-1574802560468.png

 

hope this helps!

Meena
8 - Asteroid

Solved .. using !(REGEX_Match([Value],'[\d|(|)|+|\s|-]+'))

Labels
Top Solution Authors