library(dplyr)
library(stringr)
text_delete <- function(df, removewords){
df <- df %>%
mutate(text = str_remove_all(text, regex(str_c("\\b",removewords, "\\b", collapse = '|'), ignore_case = T)))
return(df)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.