It suggests zero or even more incidence of whitespace figures, accompanied by a comma after which accompanied by zero or even more occurrence of whitespace figures. However x.replaceAll("\s+", ""); is going to be a lot more effective technique for trimming spaces (if string might have a number of contiguous Areas) https://mantra-bars-euphoria-bar54207.bloguetechno.com/little-known-facts-about-mantra-mushroom-chocolate-66647319