str_rm_non_alphanumeric {textTools} | R Documentation |
Remove and replace non-alphanumeric characters from strings.
str_rm_non_alphanumeric(x, replacement = " ")
x |
A vector or string. |
replacement |
A string to replace the numbers with, defaults to " ". |
x, with non-alphanumeric (A-z, 0-9) characters removed/replaced.
str_rm_non_alphanumeric(c("test 67890 * % $ "))