I am trying to remove a string match that occurs only at the end of a series of string in each element of a character vector. The string match is "UR". I\'ve tried s