It claims zero or maybe more incidence of whitespace characters, followed by a comma after which you can followed by zero or more incidence of whitespace characters. Having said that x.replaceAll("\s+", ""); will be extra successful method of trimming Areas (if string can have many contiguous spaces) mainly because of https://mantra-mushroom-chocolate32086.myparisblog.com/31847519/the-best-side-of-s