delete one character from string r code example Example: delete rows from string vector r according to regex df[ grep("REVERSE", df$Name, invert = TRUE) , ]