It states zero or even more incidence of whitespace characters, accompanied by a comma after which you can accompanied by zero or even more occurrence of whitespace figures. Even so x.replaceAll("\s+", ""); is going to be a lot more efficient technique for trimming spaces (if string may have several contiguous https://mantra-bars-euphoria-bar74207.suomiblog.com/mantra-mushroom-chocolate-bars-an-overview-47083081