Calling all Alteryx customers: Refer your colleague to try Alteryx and receive a $50 gift card. Sign up now!
Free Trial

Alteryx Designer Desktop Discussions

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

RegEx for filtering out columns that do not contain letter H

45179902
8 - Asteroid

I have a table of data looks something like this:

16Happy         HKEEP
27H  H. WORLDKEEP
38HAPPYKEEP
49HENRYREMOVE
50CENTRE H.KEEP

I want to keep all the rows with KEEP and without H (uppercase).

38HAPPYKEEP
50CENTRE H.KEEP
4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @45179902 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1642950282363.png

 

Hope this helps : )

 

45179902
8 - Asteroid

Hi @atcodedog05, thank you for the response! You've been helpful like always. I guess I haven't fully understood how contains() works. What does the 0 mean in your !contains() formula?

atcodedog05
22 - Nova
22 - Nova

Hi @45179902 

 

0 is an optional config. Which means make it case sensitive take only upper H and not lower h.

 

Hope this helps : )

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @45179902 

Cheers and have a nice day!

Labels
Top Solution Authors