str_replace_all: Replace all occurrences of a matched pattern in a string.
Usage
str_replace_all(string, pattern, replacement)
Arguments
replacement
replacement string. References of the
form <1>1>, <2>2> will be replaced with the
contents of the respective matched group (created by
()
) within the pattern.
- string
{input vector. This must be an