Skip to contents

Clean HTML Tags from the Text

Usage

clean_tags(html_string)

Arguments

html_string

Text with html tags

Value

character() vector with text strings without tags

See also

You can add tags to text using add_tag() function

Examples

clean_tags("<b>Total increase is equal to 14.5 % </b>")
#> [1] "Total increase is equal to 14.5 %"
clean_tags("<h2>Sales by Region</h3>")
#> [1] "Sales by Region"