delete strings containing multiple specific words rstudio code example
Example 1: delete all rows that contain a string in R
library(stringr)
df %>%
filter(!str_detect(Name, 'REVERSE'))
Example 2: delete rows from string vector r according to regex
df[ grep("REVERSE", df$Name, invert = TRUE) , ]