It suggests zero or more occurrence of whitespace people, followed by a comma then followed by zero or even more occurrence of whitespace people. On the other hand x.replaceAll("\s+", ""); is going to be a lot more efficient technique for trimming spaces (if string might have several contiguous Areas) since https://mantra-bars-euphoria-bar32075.theideasblog.com/31788800/helping-the-others-realize-the-advantages-of-mantra-mushroom-chocolate