str_match | R Documentation |
Extract matching groups
str_match(string, pattern)
string |
Character vector of strings. |
pattern |
A pattern to match. Can be:
Unlike stringr, |
A character matrix with one row for each element of string
. The first
column gives the complete match; the remaining columns give the component
of each match group (formed by ()
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.