It claims zero or more prevalence of whitespace figures, followed by a comma and after that accompanied by zero or even more prevalence of whitespace figures. Having said that x.replaceAll("\s+", ""); are going to be additional productive way of trimming Areas (if string might have a number of contiguous Areas) https://mantra-mushroom-chocolate64207.yomoblog.com/37716267/considerations-to-know-about-s