powered by
Clears the provided string of the content specified as a regex.
utils_clear_content(string_search, regex_content, ignore_case)
Character string to search for match(es).
PCRE type regex provided as a character string of match(es) to search for.
Boolean specifying whether case should be ignored (TRUE) or not (FALSE).
TRUE
FALSE
A character string.
# NOT RUN { utils_clear_content("glasgow-entrepreneurs", "^.+-", TRUE) # }
Run the code above in your browser using DataLab