Java menghapus tanda baca dari string
inputString.replaceAll("\\p{Punct}", "");
Smoggy Swiftlet
inputString.replaceAll("\\p{Punct}", "");