clean_html.Rd
Remove HTML tags from a string.
clean_html(x)
x | A |
---|
character
, x
with HTML tags removed.
library(salinasr) html <- "<html> <body> <p>This is a paragraph.</p> <p>This is another paragraph.</p> </body> </html>" clean_html(html)#> [1] "This is a paragraph. This is another paragraph."