The 's' replaces one particular Area match at any given time even so the 's+' replaces the whole House sequence simultaneously with the 2nd parameter. Even so x.replaceAll("\s+", ""); will likely be much more productive strategy for trimming Areas (if string may have numerous contiguous Areas) simply because of probably https://rafaelyqfvk.mdkblog.com/37098811/about-mantra-euphoria-gummie