It claims zero or even more event of whitespace characters, accompanied by a comma after which you can followed by zero or maybe more incidence of whitespace characters. On the other hand x.replaceAll("\s+", ""); is going to be a lot more efficient technique for trimming spaces (if string might have https://mantra-chocolate-bars32085.blogsumer.com/30794182/5-tips-about-mantra-mushroom-chocolate-you-can-use-today