The 's' replaces one House match at a time but the 's+' replaces The full Area sequence at once with the next parameter. Even so x.replaceAll("\s+", ""); is going to be a lot more efficient technique for trimming spaces (if string might have several contiguous Areas) since of probably a https://mantra-chocolate-bars31975.idblogmaker.com/30708571/the-best-side-of-mantra-mushroom-gummies