The 's' replaces just one Area match at any given time but the 's+' replaces The full Room sequence simultaneously with the 2nd parameter. On the other hand x.replaceAll("\s+", ""); might be far more effective technique for trimming spaces (if string might have several contiguous Areas) due to the fact https://mantra-mushroom-gummies10874.dailyblogzz.com/31862027/about-mantra-mushroom-chocolate