The 's' replaces a single space match at any given time even so the 's+' replaces the whole Place sequence at the same time with the second parameter. Nevertheless x.replaceAll("\s+", ""); will probably be more economical means of trimming Areas (if string may have multiple contiguous spaces) because of doubtless https://mantra-chocolate-bars20964.blogars.com/30506963/not-known-details-about-mantra-mushroom-chocolate-bars