Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

regex match on multiple fields for multiple values

Idyllic_Data_Geek
8 - Asteroid

Is it possible to do a regex_match of mutiple fields containing multiple keywords?

 

 

For e:g can I do . if REGEX_Match([Field 1] or Field 2],".*REALTY.*|.*GROUP.*|.*COLLECTION.*|.*SOCIETY.*") instead of writing if else if?

10 REPLIES 10
atcodedog05
22 - Nova
22 - Nova

Hi @Idyllic_Data_Geek 

 

My bad use this formula

 

IF !REGEX_CountMatches([Field1], ".*\s.*") THEN 'ENT'
ELSE 'Other'
ENDIF

 

Workflow:

atcodedog05_0-1628777911544.png

Hope this helps : )

 

Labels