The 's' replaces a single Area match at any given time even so the 's+' replaces the whole Place sequence simultaneously with the 2nd parameter. However x.replaceAll("\s+", ""); will likely be much more economical means of trimming Areas (if string may have multiple contiguous spaces) because of doubtless much less https://mantra-mushroom-chocolate98642.diowebhost.com/86470008/how-much-you-need-to-expect-you-ll-pay-for-a-good-mantra-mushroom-chocolate-bars