powered by
Removes common punctuation marks from a text.
remove_punctuation(text, preserve_punctuation = NULL)
A character vector from which to remove punctuation.
A string or vector of punctuation to retain
Returns the input text with punctuation removed.
# NOT RUN { remove_punctuation("#s<<<//<y>!&^n$$t/>h%e&s$is#!++r!//") # }
Run the code above in your browser using DataLab