
Solved
Trigger actions based off key word in open-end comment?
I'm trying to only trigger an action/e-mail when a respondent includes a specific word in their open-end comment. For this specific use case the word(s) I'm looking to have the e-mail triggered off of is 'app' and/or 'apps'. The problem I'm running into is that I'm also getting alerts when a word like 'apply' is in the text - which is not what I want. I was told to use 'matches regex' but that still does not seem to be working. Any suggestions on how to get this functionality to work? I've added a screen shot of what it currently looks like, which is not working.!

Best answer by mattyb513
Regex should work better actually. Without regex you'll miss if they use it at the beginning or end of the sentence:
`/(\\ |^)(apps|app)(\\ |[[:punct:]]|$)/gim`
This checks to ensure that immediately before `app` is either a space or the beginning of a word. It then checks that either `app` or `apps` is present, and that immediately following those are either puncuation, a space, or the end of the phrase. It is also case insensitive.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
