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

Wild Card Search

TripleJJJ
7 - Meteor

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
16 - Nebula
16 - Nebula

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
7 - Meteor

Thank you!  Worked perfect!

Labels
Top Solution Authors