The 's' replaces 1 House match at a time however the 's+' replaces The complete Area sequence at once with the next parameter. On the other hand x.replaceAll("\s+", ""); might be a lot more efficient technique for trimming spaces (if string might have several contiguous Areas) since of probably considerably https://felixrjkao.ivasdesign.com/53131492/the-5-second-trick-for-mantra-mushroom-chocolate-bars