I would like to exclude lines containing a string \"REVERSE\", but my lines do not match exactly with the word, just contain it.
My input data frame:
This should do the trick:
df[- grep("REVERSE", df$Name),]
Or a safer version would be:
df[!grepl("REVERSE", df$Name),]