We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12abe5f commit c7b4d83Copy full SHA for c7b4d83
snippets/java/string-manipulation/remove-punctuation.md
@@ -7,7 +7,7 @@ tags: string,punctuation,clean,normalization
7
8
```java
9
public static String removePunctuation(String text) {
10
- return text.replaceAll("[,!.]", "");
+ return text.replaceAll("[,!.?;:]", "");
11
}
12
13
// Usage:
0 commit comments