dp_clean_html: Remove HTML from string

View source: R/1_import_dp.R

dp_clean_htmlR Documentation

Remove HTML from string

Description

Applies some regex to clean html tags from strings. This is useful for platforms such as MFL that interpret HTML in their franchise name fields.

Usage

dp_clean_html(names)

Arguments

names

a character (or character vector)

Value

a character vector of cleaned strings

Examples


c(
  "<b><font color= Cyan>Kevin OBrien (@kevinobrienff) </FONT></B>",
  "<em><font color= Purple> Other fun names</font></em>"
) %>% dp_clean_html()

ffscrapr documentation built on Feb. 16, 2023, 10:55 p.m.