The 's' replaces 1 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+", ""); might be far more effective way of trimming spaces (if string might have a number of contiguous Areas) mainly because https://dallashargu.izrablog.com/31922619/fascination-about-mantra-euphoria-gummie