The 's' replaces one particular Room match at any given time however the 's+' replaces the whole House sequence at the same time with the 2nd parameter. Even so x.replaceAll("\s+", ""); is going to be much more efficient strategy for trimming spaces (if string may have a number of contiguous https://mantrabarseuphoriabar32975.jiliblog.com/88482930/mantra-mushroom-chocolate-an-overview