powered by
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.
dp_clean_html(names)
a character vector of cleaned strings
a character (or character vector)
c( "Kevin OBrien (@kevinobrienff) ", " Other fun names" ) %>% dp_clean_html()
Run the code above in your browser using DataLab