
Last chance! 50% off unlimited learning
Sale ends in
stri_extract_first_regex
,
stri_extract_first_coll
,
or stri_extract_first_charclass
,
depending on the argument used.stri_extract_first(str, ..., regex, coll, charclass)
stri_extract_all_charclass
,
stri_extract_first_charclass
,
stri_extract_first_charclass
,
stri_extract_last_charclass
,
stri_extract_last_charclass
;
stri_extract_all_coll
,
stri_extract_first_coll
,
stri_extract_first_coll
,
stri_extract_last_coll
,
stri_extract_last_coll
;
stri_extract_all_regex
,
stri_extract_first_regex
,
stri_extract_first_regex
,
stri_extract_last_regex
,
stri_extract_last_regex
;
stri_extract_all
;
stri_extract_last
;
stri_extract_words
;
stri_extract
; stringi-search
s <- 'Lorem ipsum dolor sit amet, consectetur adipisicing elit.'
stri_extract_first('XaaaaX', regex=c('\\p{Ll}', '\\p{Ll}+', '\\p{Ll}{2,3}', '\\p{Ll}{2,3}?'))
stri_extract_first('Bartolini', coll=letters[1:3])
stri_extract_first(s, charclass='\\p{Zs}')
Run the code above in your browser using DataLab