The 's' replaces a single Room match at a time though the 's+' replaces The full Area sequence simultaneously with the second parameter. On the other hand x.replaceAll("\s+", ""); is going to be a lot more effective technique for trimming spaces (if string might have several contiguous Areas) mainly because https://lanegriwl.tkzblog.com/31234813/not-known-details-about-mantra-mushroom-chocolate-bars