The 's' replaces a single Room match at a time however the 's+' replaces The complete Room sequence at the same time with the 2nd parameter. Even so x.replaceAll("\s+", ""); is going to be a lot more effective way of trimming Areas (if string can have many contiguous spaces) for https://mantra-euphoria-gummies86429.buyoutblog.com/31411686/about-mantra-mushroom-chocolate