It states zero or more incidence of whitespace figures, accompanied by a comma then followed by zero or even more event of whitespace characters.However x.replaceAll("s+", ""); is going to be additional successful technique for trimming Areas (if string may have various contiguous Areas) mainly because of doubtless a lot less no of replacements owi