Learn R Programming

podcleaner (version 0.1.2)

utils_clear_content: Clear string of matched content

Description

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

Usage

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

Run this code
# NOT RUN {
  utils_clear_content("glasgow-entrepreneurs", "^.+-", TRUE)
# }

Run the code above in your browser using DataLab