The 's' replaces one particular Area match at any given time even so the 's+' replaces the whole House 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 a number of contiguous Areas) due https://juliusulbsg.affiliatblogger.com/83522117/not-known-details-about-mantra-mushroom-chocolate-bars