java non-breajubg soace remove code example
Example 1: java non-breajubg soace remove
string.replaceAll("\\p{Z}","");
Example 2: java non-breajubg soace remove
string.replaceAll("(^\\h*)|(\\h*$)","")
string.replaceAll("\\p{Z}","");
string.replaceAll("(^\\h*)|(\\h*$)","")