Я ищу код в gsub для замены указанного c слова на xx следующим образом.
x <- c("replace #bitcoin and not #bitoinusdha", "replace #btc and not #btcasdasd")
View(x)
[1] replace xx and not #bitcoinusdha
[2] replace xx and not #btcasdasd
Надеюсь, что кто-то может мне помочь.
С уважением,
Отто