Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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
Alteryx

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