[Logo]
Forums Register Login
Remove Punctuations with regex
IS there a way to remove punctuations in a String with Regex and Pattern matching?
Try the replaceAll method with punctuation passed as the first argument.
Read the API for java.util.regex.Pattern. There's a POSIX character class that matches punctuation.

Here's a great resource for better understanding of regex:
Learn How to Use and Get The Most out of Regular Expressions
I like the regular expression trail in the Java� Tutorials.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Oct 20, 2017 21:43:31.