We can remove non-ASCII characters from a Java String by using below regular expression.
String.replaceAll("[^\\p{ASCII}]", ""))
Search This Blog
Monday, August 30, 2010
Subscribe to:
Post Comments (Atom)
Clarification of your queries on java
No comments:
Post a Comment