The 's' replaces one particular Area match at any given time although the 's+' replaces The entire House sequence simultaneously with the second parameter. Having said that x.replaceAll("\s+", ""); might be far more effective technique for trimming spaces (if string might have a number of contiguous Areas) due to the https://mantramushroomchocolate86429.ltfblog.com/30565865/5-tips-about-mantra-mushroom-chocolate-you-can-use-today