The 's' replaces just one Room match at a time though the 's+' replaces The entire Place sequence without delay with the second parameter. Nonetheless x.replaceAll("\s+", ""); is going to be much more effective technique for trimming Areas (if string might have many contiguous Areas) for the reason that of https://hectorumcrg.thelateblog.com/31896317/5-tips-about-mantra-mushroom-chocolate-you-can-use-today