The 's' replaces 1 space match at a time however the 's+' replaces The complete Room sequence at the same time with the 2nd parameter. However x.replaceAll("\s+", ""); are going to be additional productive way of trimming spaces (if string might have a number of contiguous spaces) mainly because of https://mantrachocolatebars54197.blog-kids.com/31519191/top-mantra-euphoria-gummie-secrets