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

Regex Match Not working

don_sevcik
5 - Atom

I'm scanning a list of tweet in Alteryx.  The data comes back fine.

 

Using the Regex Tool, I want to filter those tweets by any username containing the word Broker or broker.

 

I tried:  /[Bb]roker/ and [Bb]roker in the Regular Expression field and for both instances, I get 0 matches. I can clearly see my dataset has usernames with the word Broker in them.

 

Do I need something else?

2 REPLIES 2
jdunkerley79
ACE Emeritus
ACE Emeritus

I'd probably use a Filter tool on contains mode. But if you want to use a Regex tool in match mode I think you need .* before and after the target to match, i.e. .*[Bb]roker.*

don_sevcik
5 - Atom

The .* enclosure worked! Thanks!

Labels
Top Solution Authors