It states zero or maybe more prevalence of whitespace figures, followed by a comma and after that accompanied by zero or even more occurrence of whitespace figures. Having said that x.replaceAll("\s+", ""); is going to be far more productive strategy for trimming Areas (if string may have various contiguous spaces) https://mantra-mushroom-gummies10874.dailyblogzz.com/31862027/about-mantra-mushroom-chocolate