extract_pattern | R Documentation |
Extracts a regex pattern from a character vector (vectorized)
extract_pattern(x, pattern)
x |
A character vector to extract pattern from. |
pattern |
A regex pattern. If it contains capture groups, they all will be extracted. |
A character vector of the same length as x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.