It suggests zero or maybe more occurrence of whitespace characters, followed by a comma then accompanied by zero or even more incidence of whitespace figures.Nonetheless x.replaceAll("s+", ""); might be extra efficient technique for trimming Areas (if string may have many contiguous spaces) due to the fact of potentially considerably less no of rep