I've looked through the forum and haven't seen this topic before so I was curious if anyone knew how to do this. I'm trying to write commands that will list any observations that don't contain a given string anywhere in their answer. Essentially it would be the opposite of a regular expression, so that it would exclude these observations rather than include them. For example, I'd want to exclude all observations that have a negative answer, so that any string that includes "NO" (whether as "NO" by itself or "NO ONE", etc.) anywhere in their answer would be excluded from the list. Is there a way to do this?
Many thanks in advance,
Ron
Many thanks in advance,
Ron
Comment