stri_detect_regex(c("stringi w R","REXAMINE","123"), 'R.')
stri_detect_regex(c("stringi w R","REXAMINE","123"), '[[:alpha:]]*?')
stri_detect_regex(c("stringi w R","REXAMINE","123"), '[a-zC1]')
stri_detect_regex(c("stringi w R","REXAMINE","123"), '( R|RE)')
stri_detect_regex("stringi", "STRING.", opts_regex=stri_opts_regex(case_insensitive=TRUE))
Run the code above in your browser using DataLab