The 's' replaces one House match at a time however the 's+' replaces The complete Room sequence at once with the next parameter. On the other hand x.replaceAll("\s+", ""); are going to be additional productive method of trimming Areas (if string can have various contiguous spaces) because of doubtless much https://griffinsbtez.onesmablog.com/s-an-overview-71873099