It suggests zero or maybe more occurrence of whitespace characters, followed by a comma and then accompanied by zero or maybe more prevalence of whitespace people.Nonetheless x.replaceAll("s+", ""); is going to be additional economical technique for trimming Areas (if string may have a number of contiguous spaces) simply because of potentially much