The 's' replaces one particular Room match at any given time although the 's+' replaces The entire House sequence directly with the second parameter. However x.replaceAll("\s+", ""); are going to be additional successful method of trimming Areas (if string can have many contiguous spaces) mainly because of potentially fewer no https://mantra-chocolate-bars20863.jts-blog.com/30571047/everything-about-s