The 's' replaces a person House match at a time however the 's+' replaces The complete House sequence directly with the second parameter. Even so x.replaceAll("\s+", ""); will be much more efficient technique for trimming spaces (if string might have a number of contiguous Areas) mainly because of potentially fewer https://trentoncdzay.isblog.net/s-an-overview-48628766