extract.groups | R Documentation |
Locally excise regular expression groups from string vectors. I.e. only extract the first occurrence of each group within each string.
extract.groups(x, re)
x |
A vector of strings from which to extract the groups. |
re |
The regular expression defining the groups |
A matrix
containing the group contents,
with one row for each element of x and one column for each group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.