Forum Discussion
CumberlandStree
2 years agoActive Member II
Liquid Code to Exclude Generic Emails such as Yahoo and Hotmail
Hello (and help) I am trying to build liquid code that will exclude users who have non-business email addresses (yahoo, gmail, hotmail etc) and include users with certain words in their job titles ...
- 2 years ago
Hey CumberlandStree! "does not match regex" doesn't look like a valid operator. I think you'd need to go with contains in this instance.
Here's a useful guide to Braze supported liquid operators - https://www.braze.com/docs/user_guide/personalization_and_dynamic_content/liquid/operators/
ConorIrvine
2 years agoSpecialist
Also worth adding that this would probably be achieved much cleaner at segment level - not sure if that fits your use case?
- CumberlandStree2 years agoActive Member II
Hi - unfortunately, creating a segment does not work in this instance.
Thank you for the link to liquid operators
Related Content
- 9 months ago