The 's' replaces just one Place match at a time though the 's+' replaces The full space sequence without delay with the next parameter. Even so x.replaceAll("\s+", ""); will likely be much more efficient strategy for trimming spaces (if string may have several contiguous Areas) since of probably a lot https://mantramushroomgummies65208.alltdesign.com/mantra-mushroom-gummies-no-further-a-mystery-50958077