Replace Pattern Occurrences
Examples
replace_regex(c('stringi R', 'REXAMINE', '123'), '( R|R.)', ' r ')
#> [1] "stringi r " " r XAMINE" "123"
Replace Pattern Occurrences
replace_regex(c('stringi R', 'REXAMINE', '123'), '( R|R.)', ' r ')
#> [1] "stringi r " " r XAMINE" "123"