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. Even so x.replaceAll("\s+", ""); are going to be much more efficient way of trimming spaces (if string can have several contiguous Areas) simply because of https://mantra-nootropic-bar42085.azzablog.com/31490088/a-review-of-mantra-mushroom-gummies