The 's' replaces a single Area match at any given time even so the 's+' replaces The entire House sequence directly with the second parameter. However x.replaceAll("\s+", ""); will be additional productive method of trimming Areas (if string can have various contiguous spaces) for the reason that of doubtless much https://beckettwodrg.blogdosaga.com/31266514/mantra-mushroom-chocolate-an-overview