It claims zero or more occurrence of whitespace people, accompanied by a comma and afterwards followed by zero or maybe more incidence of whitespace people. On the other hand x.replaceAll("\s+", ""); is going to be a lot more effective technique for trimming spaces (if string might have a number of https://louisbvkyn.bloggerswise.com/38301377/helping-the-others-realize-the-advantages-of-mantra-mushroom-chocolate