The 's' replaces a single Area match at any given time although the 's+' replaces The entire House sequence directly with the second parameter. Nevertheless x.replaceAll("\s+", ""); is going to be far more effective technique for trimming spaces (if string might have a number of contiguous spaces) mainly because of https://mantra-mushroom-chocolate65208.articlesblogger.com/54147416/not-known-details-about-mantra-euphoria-gummie