The 's' replaces 1 space match at a time nevertheless the 's+' replaces the whole Place sequence at the same time with the 2nd parameter. Having said that x.replaceAll("\s+", ""); will probably be more successful means of trimming Areas (if string may have multiple contiguous spaces) simply because of doubtless https://troykbqgu.gynoblog.com/30752590/mantra-mushroom-chocolate-bars-can-be-fun-for-anyone