Actually Extract All Patterns
Examples
c(
'oneightwo',
'1two3four'
) |>
strg_extract_all('one|two|three|four|five|six|seven|eight|nine|[1-9]')
#> [[1]]
#> [1] "one" "eight" "two"
#>
#> [[2]]
#> [1] "1" "two" "3" "four"
#>
Actually Extract All Patterns
c(
'oneightwo',
'1two3four'
) |>
strg_extract_all('one|two|three|four|five|six|seven|eight|nine|[1-9]')
#> [[1]]
#> [1] "one" "eight" "two"
#>
#> [[2]]
#> [1] "1" "two" "3" "four"
#>