Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Delete items/rows (not in 7 digit format)

PassION_es
10 - Fireball

Hello Alteryx Community,

 

Need help on how to delete rows that do not contain a value of 7 digits in a specific column.

 

Please see attached sample.

 

Thank you.

5 REPLIES 5
Rana_Kareem
9 - Comet

Hi @PassION_es ..

 

You can use this function in Filter Tool:

 

REGEX_Match([Column Name], "\d{7}")

 

 

PassION_es
10 - Fireball

HI @Rana_Kareem , It got a zero or -1 output. By the way, the column is a vstring column, not double or integers. I only want to filter those who have 7 numbers in the string column.

aatalai
15 - Aurora

@PassION_es take a look at this workflow, using @Rana_Kareem logic but in a filter tool

Rana_Kareem
9 - Comet

@PassION_esDid you write the function in Filter Tool?

 

@aatalaiI've also mentioned to use Filter Tool !!

PassION_es
10 - Fireball

thanks @Rana_Kareem and @aatalai .  Yes, I used the filter tool and it works.

Labels
Top Solution Authors