Solved

Segment definition with wildcards

  • 3 November 2020
  • 1 reply
  • 644 views

Userlevel 1
Badge +2

Is there a way to create a segment with emails using wildcards or regex? I would like to filter out emails from our business domain with pluses (+) in them. They are generally used as test accounts so we dont need to send marketing materials to all of these internal accounts.

Example: test.user+11032020@domain.com

 

I tried creating a definition with ‘*+*@domain.com’ but it doesnt find any accounts.

 

Any input is appreciated.

icon

Best answer by cassy.lee 4 November 2020, 00:17

View original

1 reply

Userlevel 6
Badge +9

Hi @jbutler, thanks for being a part of our Community! 

Unfortunately, wildcards and regular expressions don’t currently work in segments, so there’s no way to filter on partial criteria. I would recommend that you instead try to use the logic for your “@domain.com”. So for instance, in Definitions, use the filter “Properties About Someone” > Email > Contains > @domain.com 

In the meantime, I’ve also brought this particular feature up to my team. 

Thanks, 
-Cassy 

Reply