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+", ""); might be far more effective technique for trimming spaces (if string might have several contiguous Areas) due to the fact of probably https://mantraherobar18642.blogsvila.com/31507507/about-mantra-mushroom-chocolate