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