The 's' replaces one House match at a time however the 's+' replaces The complete Room sequence at the same time with the 2nd parameter. Having said that x.replaceAll("\s+", ""); are going to be additional productive strategy for trimming spaces (if string may have numerous contiguous Areas) since of probably https://mantra-hero-bar21985.widblog.com/86359631/new-step-by-step-map-for-s