The 's' replaces just one Room match at any given time although the 's+' replaces The entire House sequence directly with the second parameter. Having said that x.replaceAll("\s+", ""); might be a lot more effective technique for trimming spaces (if string might have a number of contiguous Areas) due to https://mantra-nootropic-bar53196.idblogz.com/31863083/fascination-about-mantra-euphoria-gummie