removes the specified strings in the string array from the input string