FindReplaceOptions.useSubstitutions property. Gets or sets a boolean value indicating whether to recognize and use substitutions within replacement patterns...useSubstitutions ; /* TODO let regex = new Regex(@"([A-z]+) sold a ([A-z]+)...([A-z]+)"); doc.range.replace(regex, @"$3 bought a $2 from $1",...