View source: R/special_characters.R
rx_alnum | R Documentation |
Matches both letters (case insensitive) and numbers (a through z and 0 through 9).
rx_alnum(.data = NULL, inverse = FALSE)
.data |
Expression to append, typically pulled from the pipe |
inverse |
Invert match behavior, defaults to |
rx_alnum()
rx_alnum(inverse = TRUE)
# create an expression
x <- rx_alnum()
# create input
string <- "Apple 1!"
# extract match
regmatches(string, gregexpr(x, string))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.