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+", ""); might be far more effective technique for trimming spaces (if string might have several contiguous Areas) since of probably considerably less https://waylonxtmfz.blogoscience.com/37511746/the-2-minute-rule-for-mantra-mushroom-chocolate