x <- paste("fred is fred@foo.com and joe is joe@example.com - but @this is a
twitter handle for twit@here.com or foo+bar@google.com/fred@foo.fnord")
x2 <- c("fred is fred@foo.com and joe is joe@example.com - but @this is a",
"twitter handle for twit@here.com or foo+bar@google.com/fred@foo.fnord",
"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