It says 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 effective technique for trimming spaces (if string might have a number of contiguous https://garrettikefu.blogrelation.com/37472798/not-known-factual-statements-about-mantra-mushroom-chocolate-bars