utils_clear_content: Clear string of matched content

Description Usage Arguments Value Examples

Description

Clears the provided string of the content specified as a regex.

Usage

1
utils_clear_content(string_search, regex_content, ignore_case)

Arguments

string_search

Character string to search for match(es).

regex_content

PCRE type regex provided as a character string of match(es) to search for.

ignore_case

Boolean specifying whether case should be ignored (TRUE) or not (FALSE).

Value

A character string.

Examples

1
2
3
4
## Not run: 
  utils_clear_content("glasgow-entrepreneurs", "^.+-", TRUE)

## End(Not run)

podcleaner documentation built on Jan. 12, 2022, 1:06 a.m.