I have the following code inside an Assign activity. Regex.Replace(Mail_Body_LSTR,“kind[[:print:]]+","").
Were Mail_Body_LSTR is a string. In the regex editor it works by highlighting all the words after kind, however in the assign it does not remove the words. The word kind is always in lower case so not a case sensitive match not found.