https://www.growthbook.io/ logo
#give-feedback
Title
# give-feedback
s

some-planet-44104

11/08/2022, 9:28 AM
Hi there! Is there any suitable operator in GrowthBook that would be suitable for condition “contains text” and “doesn’t contain text” ? I figure I could solve the “contains” cases with $regex, but still might need to cover “doesn’t contain” situation. Maybe there’s some inversion of $regex?
f

fresh-football-47124

11/08/2022, 9:30 AM
Hi, yes, Regex can do doesn’t contain
I’d be happy to help you with the regex if you need
I like to use https://regex101.com/ to test my expressions
🙌 1
s

some-planet-44104

11/08/2022, 9:33 AM
so I figured, thanks. Thought maybe there’s some shortcut so I don’t overuse regexp. Thanks for prompt reply!
8 Views