The 's' replaces 1 space match at a time however the 's+' replaces The complete Room sequence at the same time with the next parameter. In such cases, it makes no distinction, since you are changing everything with an vacant string (Whilst It will be improved to use \s+ from https://mantra-nootropic-bar43186.popup-blog.com/30719119/about-s