Copy to ClipboardRawPreviewdef removePunctuation(str: String) = { str.replaceAll("\\p{Punct}", "") } Remove punctuation in string00juli1Remove punctuation from a string0 CommentsAdd CommentLog in to add a comment