It suggests zero or maybe more incidence of whitespace figures, accompanied by a comma and after that accompanied by zero or more prevalence of whitespace figures. Having said that x.replaceAll("\s+", ""); might be far more productive way of trimming Areas (if string might have many contiguous spaces) for the reason https://mantra-chocolate-bars31874.worldblogged.com/37271728/everything-about-s