The 's' replaces just one Room match at a time though the 's+' replaces The full space sequence without delay with the next parameter. On the other hand x.replaceAll("\s+", ""); is going to be a lot more effective technique for trimming spaces (if string can have many contiguous spaces) for https://mantramushroomgummies75218.ageeksblog.com/30542800/mantra-mushroom-gummies-no-further-a-mystery