Замените всю пунктуацию в String Java

inputString.replaceAll("\\p{Punct}", "");
Smoggy Swiftlet