x <- paste("fred is [email protected] and joe is [email protected] - but @this is a
twitter handle for [email protected] or [email protected]/[email protected]")
x2 <- c("fred is [email protected] and joe is [email protected] - but @this is a",
"twitter handle for [email protected] or [email protected]/[email protected]",
"hello world")
rm_email(x)
rm_email(x, replacement = '\\1')
ex_email(x)
ex_email(x2)
Run the code above in your browser using DataLab