The 's' replaces one particular Area match at any given time although the 's+' replaces The entire House sequence directly with the second parameter. Even so x.replaceAll("\s+", ""); is going to be much more efficient strategy for trimming spaces (if string may have several contiguous Areas) due to the fact https://mantra-bars-euphoria-bar32075.theideasblog.com/31788800/helping-the-others-realize-the-advantages-of-mantra-mushroom-chocolate