remove_punctuation {discoverableresearch} | R Documentation |
Removes common punctuation marks from a text.
remove_punctuation(text, preserve_punctuation = NULL)
text |
A character vector from which to remove punctuation. |
preserve_punctuation |
A string or vector of punctuation to retain |
Returns the input text with punctuation removed.
remove_punctuation("#s<<<//<y>!&^n$$t/>h%e&s$is#!++r!//")