The 's' replaces 1 space match at a time however the 's+' replaces The complete Room sequence at the same time with the 2nd parameter. However x.replaceAll("\s+", ""); will likely be far more effective technique for trimming spaces (if string might have several contiguous Areas) due to the fact of https://mantramushroomchocolateba43197.thenerdsblog.com/37027221/little-known-facts-about-mantra-mushroom-gummies