powered by
Matches letters (case insensitive) only.
rx_alpha(.data = NULL, inverse = FALSE)
Expression to append, typically pulled from the pipe %>%
%>%
Invert match behavior, defaults to FALSE (match alphabetic characters). Use TRUE to not match alphabetic characters.
FALSE
TRUE
# NOT RUN { rx_alpha() rx_alpha(inverse = TRUE) # create an expression x <- rx_alpha() # create input string <- "Apple 1!" # extract match regmatches(string, gregexpr(x, string)) # }
Run the code above in your browser using DataLab