The 's' replaces one House match at a time but the 's+' replaces The full Area sequence simultaneously with the 2nd parameter. Nevertheless x.replaceAll("\s+", ""); will probably be extra successful means of trimming Areas (if string can have various contiguous spaces) because of doubtless significantly less no of replacements thanks https://mantra-mushroom-chocolate10864.blogpixi.com/31640951/mantra-euphoria-gummie-secrets