It says zero or more occurrence of whitespace people, followed by a comma after which followed by zero or even more occurrence of whitespace people. However x.replaceAll("\s+", ""); are going to be additional effective way of trimming spaces (if string might have a number of contiguous spaces) for the reason https://mantramushroomgummies65218.ampblogs.com/mantra-euphoria-gummie-fundamentals-explained-68155892