The 's' replaces one House match at a time however the 's+' replaces The complete Room sequence at the same time with the 2nd parameter. However x.replaceAll("\s+", ""); is going to be far more effective way of trimming spaces (if string might have a number of contiguous Areas) mainly because https://mantraeuphoriagummies98530.losblogos.com/30690791/the-best-side-of-mantra-mushroom-chocolate-bars