powered by
Cleans a character vector by converting text to lowercase, removing selected punctuation (plus signs, em dashes, exclamation points), normalizing commas, and removing whitespace.
clean_text(text)
Cleaned character vector.
Character vector to clean.
clean_text(c("Hello World!", "This is\tR"))
Run the code above in your browser using DataLab