It suggests zero or more incidence of whitespace figures, followed by a comma and after that followed by zero or even more event of whitespace characters.On the other hand x.replaceAll("s+", ""); will be much more productive means of trimming spaces (if string might have various contiguous Areas) for the reason that of probably fewer no of replacem