Alteryx Designer Desktop Discussions

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

Wild Card Search

TripleJJJ
6 - Meteoroid

Hi there,

 

I am trying to do a wildcard search on a column that contains a bunch of characters.

 

Example of data

 

AEBAHD

ABEAHE

BABAHD

ABBEHD

 

I want to return or split the results or add a flag if the below criteria is met

 

A*B*HD   - (* being the wild card)

 

So 2 of the above records would hit this criteria.

 

Any guidance would be greatly appreciated!

 

Thanks,

2 REPLIES 2
ChrisTX
15 - Aurora

Try the RegEx tool in Match mode with this Regular Expression:      A.+B.+HD

 

Or one of these functions in a Formula tool:

REGEX_CountMatches(String, pattern)
REGEX_Match(String, pattern)

 

Chris

TripleJJJ
6 - Meteoroid

Thank you!  Worked perfect!

Labels