Search paragraph against a list of words and output display words if found

Easy fix.
Replace the IF/THEN in the macro with this one:

image

Two changes to the IF/THEN:

  1. Change "contains" to "matches"
  2. Change the match field to:
    (?i)\b%Local__KW% Sedan\b

This uses the Regex metacharacter \b to ensure the enclosed string in on a word boundary.
The (?i) makes the comparison case insensitive. Remove it if you want a case sensitive match.

Questions?