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 extra successful method of trimming Areas (if string can have many contiguous spaces) for the reason that of doubtless less https://mantra-mushroom-chocolate66420.howeweb.com/31929032/new-step-by-step-map-for-s