The 's' replaces a single Room match at any given time although the 's+' replaces The entire House sequence directly with the second parameter. Nevertheless x.replaceAll("\s+", ""); will be extra productive method of trimming Areas (if string can have many contiguous spaces) because of doubtless much less no of replacements https://mantramushroomgummies65318.blogdon.net/not-known-factual-statements-about-mantra-mushroom-chocolate-bars-47571273