The 's' replaces one House match at a time however the 's+' replaces the whole Place sequence at the same time with the 2nd parameter. Even so x.replaceAll("\s+", ""); might be far more effective technique for trimming spaces (if string might have several contiguous Areas) simply because of probably considerably https://magickingdomgummiesforsal09753.blogdon.net/mantra-mushroom-chocolate-bars-no-further-a-mystery-47551479