
Remove and replace non-alphanumeric characters from strings.
str_rm_non_alphanumeric(x, replacement = " ")
A vector or string.
A string to replace the numbers with, defaults to " ".
x, with non-alphanumeric (A-z, 0-9) characters removed/replaced.
# NOT RUN {
str_rm_non_alphanumeric(c("test 67890 * % $ "))
# }
Run the code above in your browser using DataLab