FindReplaceOptions.findWholeWordsOnly property. True indicates the oldValue must be a standalone word....let doc = new aw . Document (); let builder = new aw . DocumentBuilder...find-and-replace process. let options = new aw . Replacing . FindReplaceOptions...