The 's' replaces 1 House match at a time however the 's+' replaces The complete Room sequence at once with the next parameter. Having said that x.replaceAll("\s+", ""); are going to be additional productive way of trimming spaces (if string might have a number of contiguous Areas) due to the https://mantramushroomchocolateba54840.blogzet.com/mantra-mushroom-chocolate-bars-an-overview-46207048